scope

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

in classic vb, you could define a property as public get but have either a
private or friend let/set. that way, you could expose the write capability
of the property to other objects in your om but not to callers beyond that
scope. is there a way to do this in vb.net?

tia,

steve
 
in classic vb, you could define a property as public get but have either a
private or friend let/set. that way, you could expose the write capability

That feature has been "re-introduced" in Whidbey, but for now, you have to
make a read only property and a private/friend set routine
 
thanks chris.


| On Fri, 16 Apr 2004 07:37:55 -0500, steve wrote:
|
| > in classic vb, you could define a property as public get but have either
a
| > private or friend let/set. that way, you could expose the write
capability
|
| That feature has been "re-introduced" in Whidbey, but for now, you have to
| make a read only property and a private/friend set routine
|
| --
| Chris
|
| To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
| address.
 
Back
Top