Hide property

  • Thread starter Thread starter Guest
  • Start date Start date
Hide it from whom? Make it private and nobody can see it; protected and only
subclasses can see it.

If you want to redefine an existing public method on a base class (which you
don't have the source for) declare the same method with "new" (shadows in
VB).

Cheers
Daniel
 

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

Similar Threads


Back
Top