Property Overriding

  • Thread starter Thread starter Jimmy V
  • Start date Start date
J

Jimmy V

Sorry about the last partial post, I will try to delete is (stupid tab
key)...So what I wanted to do was override a property and hide it's
set, in C# I can do this:

Public new String Text
{
get { return base.Text; }
private set { base.Text = "What I want."; }
}

what is the VB equivalent of this? I get a can't override because you
are changing access of an inherited member, or something to that
effect. Any help would be appreciated.

Thanks,

Jimmy V
 
Back
Top