XmlAtomicValue.TypedValue Property

Definition

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

public:
 virtual property System::Object ^ TypedValue { System::Object ^ get(); };
public override object TypedValue { get; }
member this.TypedValue : obj
Public Overrides ReadOnly Property TypedValue As Object

Property Value

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

Remarks

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.

Applies to