Visual Basic (Usage) | ![]() |
---|---|
Dim instance As OptionCollection Dim value As Option instance.Add(value) |
Parameters
- value
- The Option to add to the OptionCollection object.
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.
Target Platforms: Microsoft .NET Framework 2.0