JEHMayo Posted July 13, 2004 Posted July 13, 2004 When I'm viewing a class that inherits from another class with protected members, is there anyway to display the protected fields inherited? Example: Public MustInherit Class MyBase Protected _SomeMember As String End Class And in another source module I'm editing: Public Class MyCurrent Inherits MyBase ... End Class Is there anyway I can see _SomeMember when editing MyCurrent? :confused: Quote
Arch4ngel Posted July 13, 2004 Posted July 13, 2004 base._SomeMember no ? shall work Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Administrators PlausiblyDamp Posted July 13, 2004 Administrators Posted July 13, 2004 You should be able to access it from derived classes without any extra effort? If you try to type _SomeMember do you get any errors? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
*Experts* Nerseus Posted July 14, 2004 *Experts* Posted July 14, 2004 Maybe he wants intellisense? Just type "Me." and you'll get a list of all available members, even those in the base class (as long as they're not private of course). -ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.