System.Xml.Schema.XmlAtomicValue.ValueAsInt Property

Gets the validated XML element or attribute's value as an int.

Syntax

public override int ValueAsInt { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XmlAtomicValue.ValueAsInt property attempts to convert the value of the validated XML element or attribute to the Microsoft .NET Framework 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.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0