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[]


Exception type Condition

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.


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