The Remove method removes the element that matches a binary value from the ValueCollection.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As ValueCollection
Dim val As Byte()

instance.Remove(val)

Syntax

Visual Basic
Public MustOverride Sub Remove ( _
		val As Byte() _
)
C#
public abstract void Remove (
		byte[] val
)
C++
public:
virtual void Remove (
		array<unsigned char>^ val
) abstract
J#
public abstract void Remove (
		byte[] val
)
JScript
public abstract function Remove (
		val : byte[]
)

Parameters

val

Contains an array of Bytes that match the value of the element to remove.

Exceptions

Exception type Condition
System.ArgumentNullException

The argument is null.

System.InvalidOperationException

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also