Partager via


ValueCollection.Remove Method

The Remove (String) method removes the element that matches a string value from the ValueCollection.

Syntax

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

Parameters

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

Return Value

This method does not return a value.

Exceptions

Exception type Condition
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

ValueCollection

Send comments about this topic to Microsoft

Build date: 2/16/2009