PowerTCP Emulation for .NET CF
Option Constructor(OptionCode)
See Also  Send comments on this topic.
Dart.Emulation Namespace > Option Class > Option Constructor : Option Constructor(OptionCode)




code
The option code.
Initializes a new instance of Option.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal code As OptionCode _
)
Visual Basic (Usage)Copy Code
Dim code As OptionCode
 
Dim instance As New Option(code)
C# 
public Option( 
   OptionCode code
)
Managed Extensions for C++ 
public: Option( 
   OptionCode code
)
C++/CLI 
public:
Option( 
   OptionCode code
)

Parameters

code
The option code.

Remarks

This constructor creates a new instance of Option, with Code set to the value of code and State set to OptionState.Off.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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