ByRef Vs Properties in web service

mpals

Member
Joined
Nov 15, 2005
Messages
13
Programming Experience
Beginner
Hello to all.

A simple question... more for curiosity.

There are any advantages of using properties vs byref?

Where i can read more for properties VS byref?

Thanks in advance.
 
In contrast to TechGnome's post, I really wouldnt use ByRef to return multiple different values from a function; I would still always seek a way to encapsulate related data in a class, and if a function did several different things to data so disparate that it wouldnt make sense to encapsulate it, I would question whether it would make sense to have one function to do all that manipulation.

True, true.... I was thinking of in terms of how we go about deciding such things here.... forgetting that we are still steeped in VB6 at the moment. Ugh.... I can't wait to move over....

-tg
 
Back
Top