Adds the elements of another collection to the end of the NameValueCollection.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# |
|---|
public virtual void AddRange( NameValueCollection collection ) |
| Visual Basic |
|---|
Public Overridable Sub AddRange ( collection As NameValueCollection ) |
Parameters
- collection
- Type: CodeSmith.CustomProperties..::..NameValueCollection
The NameValueCollection whose elements should be added to the end of the current collection.
Remarks
Please refer to AddRange(ICollection) for details.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | collection is a null reference. |
| System..::..NotSupportedException | The NameValueCollection is read-only. -or- The NameValueCollection has a fixed size. |