Removes the first occurrence of the specified NameValueEntry from 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 Remove(
	NameValueEntry entry
)
Visual Basic
Public Overridable Sub Remove ( 
	entry As NameValueEntry
)

Parameters

entry
Type: CodeSmith.CustomProperties..::..NameValueEntry
The NameValueEntry object to remove from the NameValueCollection.

Implements

IStringStringList..::..Remove(NameValueEntry)

Remarks

Please refer to Remove(Object) for details.

Exceptions

ExceptionCondition
System..::..NotSupportedException

The NameValueCollection is read-only.

-or-

The NameValueCollection has a fixed size.

See Also