| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property OptionCode As OptionCode | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As CommandEventArgs Dim value As OptionCode value = instance.OptionCode | |
| C# | |
|---|---|
public OptionCode OptionCode {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property OptionCode get_OptionCode(); | |
| C++/CLI | |
|---|---|
public: property OptionCode OptionCode { OptionCode get(); } | |
This property represents the option to which the command pertains. For example, if the command from the server was a DO ECHO command (asking the client to enable echoing) this property would be set to OptionCode.Echo.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code