Attrib.BinaryValue Property

The BinaryValue property retrieves or sets the binary representation of the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes.

public Byte[] BinaryValue {get; set;}
Public Property BinaryValue As Byte[]

Exceptions

Exception type Condition
InvalidOperationException

The Attrib object is being set to one of the following:

  • a non-binary value
  • a null value
  • more than one value

If you are unsure of the data type of an Attrib object, use the Value property or the Values property for multi-valued attributes.

Requirements

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

See Also

Attrib

Send comments about this topic to Microsoft

Build date: 2/16/2009