Gets 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.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As Attrib
Dim value As Boolean

value = instance.BooleanValue

instance.BooleanValue = value

Syntax

Visual Basic
Public MustOverride Property BooleanValue As Boolean
C#
public abstract bool BooleanValue { get; set; }
C++
public:
virtual property bool BooleanValue {
		bool get () abstract;
		void set (bool value) abstract;
}
J#
/** @property */
public abstract boolean get_BooleanValue ()

/** @property */
public abstract void set_BooleanValue (boolean value)
JScript
public abstract function get BooleanValue () : boolean

public abstract function set BooleanValue (value : boolean)

Property Value

Returns a Boolean object.

Exceptions

Exception type Condition
System.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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also