Adds the elements of another collection to the end of the NameValueCollection.

Namespace: CodeSmith.CustomProperties
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptioncollection is a null reference.
System..::..NotSupportedException

The NameValueCollection is read-only.

-or-

The NameValueCollection has a fixed size.

See Also