Value.ToBinary Method
The ToBinary method interprets the contents of the Value object as an array of bytes.
Syntax
public Byte[] ToBinary();
Public Function ToBinary() As Byte[]
Parameters
This method has no parameters.
Return Value
Returns an array of bytes that represents the contents of the Value object.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | The value cannot be converted to the specified data type. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009