Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding property set/get
Message
From
03/02/2004 14:53:02
 
 
To
03/02/2004 14:32:25
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00873482
Message ID:
00873570
Views:
17
>Kewl ... and is that the way you had to do it? (virtual property, overridden in subclass?)

Yep, intellsense set's it up for you... basically all you type

public override

it gives you a list of the virtual methods and properties in the parent. You choose the property and it writes this code for you:
public override string Variable
{
	get
	{
	        return base.Variable;
	}
	set
        {
		base.Variable = value;
	}
}
From there it was pretty self-explainatory.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform