System.Xml.XPath.XPathItem.ValueAsBoolean Property

When overridden in a derived class, gets the item's value as a bool.

Syntax

public abstract bool ValueAsBoolean { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XPathItem.ValueAsDateTime property attempts to convert the value of the item to the dnprdnext 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.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0