Share via


ValueCollection.Set Method

The Set method removes all of the values of the ValueCollection and adds a single bool value.

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

Usage

'Usage
Dim instance As ValueCollection
Dim val As Boolean

instance.Set(val)

Syntax

'Declaration
Public MustOverride Sub Set ( _
    val As Boolean _
)
public abstract void Set (
    bool val
)
public:
virtual void Set (
    bool val
) abstract
public abstract void Set (
    boolean val
)
public abstract function Set (
    val : boolean
)

Parameters

  • val
    Contains a bool value that will replace the values of the ValueCollection.

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