XmlAtomicValue.TypedValue Property

 

Gets the current validated XML element or attribute as a boxed object of the most appropriate Microsoft .NET Framework type according to its schema type.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public override object TypedValue { get; }

Property Value

Type: System.Object

The current validated XML element or attribute as a boxed object of the most appropriate .NET Framework type.

If the value of the item is not valid according to its specified schema type, the value of the TypedValue property is equivalent to the value of the Value property.

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

.NET Framework
Available since 2.0
Return to top
Show: