System.Xml.Schema.XmlAtomicValue.ValueAsBoolean Property

Gets the validated XML element or attribute's value as a bool.

Syntax

public override bool ValueAsBoolean { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XmlAtomicValue.ValueAsBoolean property attempts to convert the value of the validated XML element or attribute to the Microsoft .NET Framework bool type according to the XPath 2.0 rules for casting the item's type.

For more information about type support in the System.Xml namespace, see Type Support in the System.Xml Classes.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0