|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
my reusable classhey all,
i have a reusable email class and was wondering... the line of code that will be calling my email class; how do i make it where when you are entering the parameters for the call and you press the space bar or something and it will show a list of available options to choose from to fill that parameter. thanks, ari "ari" <a**@discussions.microsoft.com> schrieb Maybe you're looking for an Enum:> hey all, > > i have a reusable email class and was wondering... the line of code > that will be calling my email class; how do i make it where when you > are entering the parameters for the call and you press the space bar > or something and it will show a list of available options to choose > from to fill that parameter. enum MyEnum A B end enum class YourClass sub Method(byval param as MyEnum) '... end sub end class '... dim o as new yourClass method<space> 'enum members will be listed Armin thank you.
Show quoteHide quote "Armin Zingler" wrote: > "ari" <a**@discussions.microsoft.com> schrieb > > hey all, > > > > i have a reusable email class and was wondering... the line of code > > that will be calling my email class; how do i make it where when you > > are entering the parameters for the call and you press the space bar > > or something and it will show a list of available options to choose > > from to fill that parameter. > > > Maybe you're looking for an Enum: > > enum MyEnum > A > B > end enum > > > class YourClass > sub Method(byval param as MyEnum) > '... > end sub > end class > > '... > > dim o as new yourClass > method<space> 'enum members will be listed > > > > Armin >
Dynamic Controls - referencing
running application using vb.net Treeview drives me crazy! Data Types and structure Memory Usage? Different Approaches to Saving settings: Which is better? Windows XP Style How to load hierarchical Db data in treeview?? Deleting configurations Screen resolution w/ 2 monitors Form Shake |
|||||||||||||||||||||||