I'm trying to create a new base class with an enumerator as a property; that is to say, I have a property I'd like to limit to only a select list of options.
The only specific example I can relate to is the manner in which an SQLcommand specifies it's CommandType.
How can I replicate this method of creating a class property?
Jeff W.
MCSE, CNE
The only specific example I can relate to is the manner in which an SQLcommand specifies it's CommandType.
Code:
scmdMyCommand.CommandType = CommandType.[one of three options displayed here]
How can I replicate this method of creating a class property?
Jeff W.
MCSE, CNE