Compartilhar via


ValueCollection.Remove Method (Int64)

The Remove method removes the element that matches an integer value from the ValueCollection.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As ValueCollection
Dim val As Long

instance.Remove(val)

Syntax

'Declaration
Public MustOverride Sub Remove ( _
    val As Long _
)
public abstract void Remove (
    long val
)
public:
virtual void Remove (
    long long val
) abstract
public abstract void Remove (
    long val
)
public abstract function Remove (
    val : long
)

Parameters

  • val
    Contains an Int64 value that matches the value of the element to remove.

Exceptions

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

Reference

ValueCollection Class
ValueCollection Members
Microsoft.MetadirectoryServices Namespace