Adds the elements of a NameValueEntry array
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( NameValueEntry[] array ) |
| Visual Basic |
|---|
Public Overridable Sub AddRange ( array As NameValueEntry() ) |
Parameters
- array
- Type: array<CodeSmith.CustomProperties..::..NameValueEntry>[]()[][]
An Array of NameValueEntry elements that should be added to the end of the NameValueCollection.
Remarks
Please refer to AddRange(ICollection) for details.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | array is a null reference. |
| System..::..NotSupportedException | The NameValueCollection is read-only. -or- The NameValueCollection has a fixed size. |