Microsoft Identity Integration Server 2003 Developer Reference

ValueCollection.ToByteArrays

The ToByteArrays method converts the ValueCollection into an array of Byte arrays.
[C#]
public Byte[][] ToByteArrays();
[Visual Basic .NET]
Public Function ToByteArrays() As Byte[][]

Parameters

This method has no parameters.

Return Values

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: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Value.ToBinary, ValueCollection