Utils.ValueCollection Method (Value)
The ValueCollection method creates a new ValueCollection object that contains the given Value value.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim value As Value
Dim returnValue As ValueCollection
returnValue = Utils.ValueCollection(value)
Syntax
'Declaration
Public Shared Function ValueCollection ( _
value As Value _
) As ValueCollection
public static ValueCollection ValueCollection (
Value value
)
public:
static ValueCollection^ ValueCollection (
Value^ value
)
public static ValueCollection ValueCollection (
Value value
)
public static function ValueCollection (
value : Value
) : ValueCollection
Parameters
- value
Contains a Value object to add to the new collection.
Return Value
Returns a new ValueCollection object that contains a copy of value.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | The argument is null. |
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
Utils Class
Utils Members
Microsoft.MetadirectoryServices Namespace
Value
ValueCollection