Property Overriding

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top