Visual Basic (Usage) | ![]() |
---|---|
Dim instance As OptionCollection Dim items() As Option instance.AddRange(items) |
C++/CLI | |
---|---|
public: new void AddRange( array<Option^>^ items ) |
Parameters
- items
- The array of Option objects to add to the OptionCollection.
Use this method to add an array of Options to the OptionCollection, to ensure they are 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