Removes the element at the specified index 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 RemoveAt(
	int index
)
Visual Basic
Public Overridable Sub RemoveAt ( 
	index As Integer
)

Parameters

index
Type: System..::..Int32
The zero-based index of the element to remove.

Implements

IStringStringList..::..RemoveAt(Int32)
IList..::..RemoveAt(Int32)

Remarks

Please refer to RemoveAt(Int32) for details.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

System..::..NotSupportedException

The NameValueCollection is read-only.

-or-

The NameValueCollection has a fixed size.

See Also