The ValueCollection method creates a new ValueCollection object that contains the given Boolean value.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim value As Boolean
Dim returnValue As ValueCollection

returnValue = Utils.ValueCollection(value)

Syntax

Visual Basic
Public Shared Function ValueCollection ( _
		value As Boolean _
) As ValueCollection
C#
public static ValueCollection ValueCollection (
		bool value
)
C++
public:
static ValueCollection^ ValueCollection (
		bool value
)
J#
public static ValueCollection ValueCollection (
		boolean value
)
JScript
public static function ValueCollection (
		value : boolean
) : ValueCollection

Parameters

value

Contains a Boolean value that will be added to the new collection.

Return Value

Returns a new ValueCollection object that contains a copy of value.

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