Property AsBoolean
AsBoolean
Gets the value of this instance as boolean.
Declaration
public virtual bool AsBoolean { get; }
Property Value
Type | Description |
---|---|
Boolean | bool value of this instance. |
Remarks
Valid only if this instance is BooleanValue.
Exceptions
Type | Condition |
---|---|
InvalidCastException | If this instance is not BooleanValue. |