Utils.ValueCollection Method (Byte[])
The ValueCollection method creates a new ValueCollection object that contains the given byte array values.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim values As Byte()()
Dim returnValue As ValueCollection
returnValue = Utils.ValueCollection(values)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function ValueCollection ( _
values As Byte()() _
) As ValueCollection
[CLSCompliantAttribute(false)]
public static ValueCollection ValueCollection (
byte[][] values
)
[CLSCompliantAttribute(false)]
public:
static ValueCollection^ ValueCollection (
array<array<unsigned char>^>^ values
)
/** @attribute CLSCompliantAttribute(false) */
public static ValueCollection ValueCollection (
byte[][] values
)
CLSCompliantAttribute(false)
public static function ValueCollection (
values : byte[][]
) : ValueCollection
Parameters
- values
Contains an array of byte arrays that will be added to the new collection.
Return Value
Returns a new ValueCollection object that contains a copy of values.
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
ValueCollection