XmlAtomicValue.TypedValue 属性
定义
根据架构类型,以最适合的 .NET 类型的已装箱对象的形式获取当前经验证的 XML 元素或特性。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
属性值
当前经验证的 XML 元素或特性,作为最合适 .NET 类型的装箱对象。The current validated XML element or attribute as a boxed object of the most appropriate .NET type.
注解
如果项的值根据其指定的架构类型无效,则属性的值与属性的值 TypedValue 等效 Value 。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.
有关命名空间中的类型支持的详细信息 System.Xml ,请参阅 System.Xml 类中的类型支持。For more information about type support in the System.Xml namespace, see Type Support in the System.Xml Classes.