PowerTCP Emulation for .NET CF
OptionCode Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > CommandEventArgs Class : OptionCode Property




The option pertaining to the received command.

Syntax

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();
}

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.