System.Xml.XPath.XPathItem.ValueAsInt Property

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

Syntax

public abstract int ValueAsInt { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XPathItem.ValueAsInt property attempts to convert the value of the item to the dnprdnext int 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