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




Gets or sets the code of the option to use.

Syntax

Visual Basic (Declaration) 
Public Property Code As OptionCode
Visual Basic (Usage)Copy Code
Dim instance As Option
Dim value As OptionCode
 
instance.Code = value
 
value = instance.Code
C# 
public OptionCode Code {get; set;}
Managed Extensions for C++ 
public: __property OptionCode get_Code();
public: __property void set_Code( 
   OptionCode value
);
C++/CLI 
public:
property OptionCode Code {
   OptionCode get();
   void set (    OptionCode value);
}

Property Value

An OptionCode value representing the code for the option.

Remarks

This property will reflect one of the defined Telnet option code values represented by the OptionCode enumeration. For information about each option, please see the appropriate RFC for that option.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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