Partager via


ValueCollection.ToByteArrays Method

The ToByteArrays method converts the ValueCollection into an array of Byte arrays.

Syntax

public Byte[][] ToByteArrays();
Public Function ToByteArrays() As Byte[][]

Parameters

This method has no parameters.

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
InvalidOperationException

The value of the val parameter cannot be converted to the data type of the collection.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Value.ToBinary
ValueCollection

Send comments about this topic to Microsoft

Build date: 2/16/2009