Rediger

Del via


XmlSchemaDatatype.ValueType Property

Definition

When overridden in a derived class, gets the Common Language Runtime (CLR) type of the item.

public:
 abstract property Type ^ ValueType { Type ^ get(); };
public abstract Type ValueType { get; }
member this.ValueType : Type
Public MustOverride ReadOnly Property ValueType As Type

Property Value

The Common Language Runtime (CLR) type of the item.

Examples

For an example of the ValueType property, see XmlSchemaDatatype.

Remarks

The ValueType property gets the CLR type of the item. For example, an element of type xs:int would have a ValueType of Int32 by default. However, the ValueType could be any one of the valid types that can be mapped to xs:int, such as Int16 or Double.

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

Applies to