ValueCollection.Remove Method

The Remove (Value) method removes the element that matches a Value object from the ValueCollection.

Syntax

public void Remove(
  Value value
);
Public Sub Remove( _
  ByVal value As Value _
)

Parameters

  • value
    Contains a Value object that matches the value of the element to remove.

Return Value

This method does not return a value.

Exceptions

Exception type Condition
ArgumentNullException

The argument is null.

InvalidOperationException

The value of the val parameter cannot be converted to the data type of the collection.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Value
ValueCollection

Send comments about this topic to Microsoft

Build date: 2/16/2009