PowerTCP Emulation for .NET
Add Method




The Option to add to the OptionCollection object.
Adds a new Option to the OptionCollection object.
Syntax
Public Shadows Sub Add( _
   ByVal value As Option _
) 
Dim instance As OptionCollection
Dim value As Option
 
instance.Add(value)
public new void Add( 
   Option value
)
public: new void Add( 
   Option* value
) 
public:
new void Add( 
   Option^ value
) 

Parameters

value
The Option to add to the OptionCollection object.
Remarks

Use this method to add a new Option to the OptionCollection, to ensure it is used during option negotiation.

If an existing item has the same Code as the new option, the existing item is removed to prevent duplication.

See Also

Reference

OptionCollection Class
OptionCollection Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic