Share via


Attrib.BooleanValue Property

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

public Boolean BooleanValue {get; set;}
Public Property BooleanValue As Boolean

Exceptions

Exception type Condition
InvalidOperationException

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

  • 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