The
ToByteArrays method converts the
ValueCollection
into an array of
Byte arrays.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in
microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
Dim instance As ValueCollection
Dim returnValue As Byte()()
returnValue = instance.ToByteArrays
|
Syntax
Visual Basic |
<CLSCompliantAttribute(False)> _
Public Function ToByteArrays As Byte()()
|
C# |
[CLSCompliantAttribute(false)]
public byte[][] ToByteArrays ()
|
C++ |
[CLSCompliantAttribute(false)]
public:
array<array<unsigned char>^>^ ToByteArrays ()
|
J# |
/** @attribute CLSCompliantAttribute(false) */
public byte[][] ToByteArrays ()
|
JScript |
CLSCompliantAttribute(false)
public function ToByteArrays () : byte[][]
|
Return Value
Returns an array of
Byte arrays that contain the binary
contents of the
ValueCollection. Each member of this array
is an array of
Bytes that contains the binary representation
of each element of the
ValueCollection.
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