VS 2005 Classname Drop down

R

Rick

In VS 2003, in the class name drop down there is an option for (Overrides)
if your code behind inherits another class. this option does not seem to be
available in VS 2005, or is there some option to set that will show this in
the drop down?

Thanks,
Rick
 
L

Linda Liu [MSFT]

Hi Rick,

You must be using VB.NET, right?

In VB.NET 2005, to override a method/property in an inherited class, open
the code file of the inherited class and type "overrides" and press the
Space key.

You should see a list of valid overridable memebers pops up. You can scroll
or use the arrow keys to navigate through the list, or, if you know the
first few letters of the member name, begin typing to jump directly to the
member in the list.

When a member from the list is selected, you can press ENTER to insert that
member into you code and you can override the propery/method now.

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Rick

Thanks! Is there a reason why it was taken out of the class drop down,
forcing the developer to actually type "Overrides" instead of selecting it?
 
L

Linda Liu [MSFT]

Hi Rick,

Thank you for your reply!

I think one reason may be that Visual Studio product team is trying to
make VB.NET code editor behaves like C# code editor.

Sincerely,
Linda Liu
Microsoft Online Community Support
 

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