次の方法で共有


XmlSchemaDatatype.ValueType プロパティ

指定した XML スキーマ定義言語 (XSD) 型の .NET Framework 型を取得します。

Public MustOverride ReadOnly Property ValueType As Type
[C#]
public abstract Type ValueType {get;}
[C++]
public: __property virtual Type* get_ValueType() = 0;
[JScript]
public abstract function get ValueType() : Type;

プロパティ値

.NET Framework 型の値型。

解説

XML スキーマ型と .NET Framework 型を割り当てを次の表に示します。

XSD 型 .NET Framework 型
hexBinary System.Byte[]
base64Binary System.Byte[]
Boolean System.Boolean
byte System.SByte
normalizedString System.String
date System.DateTime
decimal System.Decimal
double System.Double
ENTITIES System.String[]
ENTITY System.String
float System.Single
gMonthDay System.DateTime
gDay System.DateTime
gYear System.DateTime
gYearMonth System.DateTime
ID System.String
IDREF System.String
IDREFS System.String[]
int System.Int32
integer System.Decimal
language System.String
long System.Int64
month System.DateTime
Name System.String
NCName System.String
negativeInteger System.Decimal
NMTOKEN System.String
NMTOKENS System.String[]
nonNegativeInteger System.Decimal
nonPositiveInteger System.Decimal
NOTATION System.String
positiveInteger System.Decimal
QName System.Xml.XmlQualifiedName
short System.Int16
string System.String
time System.DateTime
timePeriod System.DateTime
timePeriod System.DateTime
token System.String
unsignedByte System.Byte
unsignedInt System.UInt32
unsignedLong System.UInt64
unsignedShort System.UInt16
anyURI System.Uri

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

XmlSchemaDatatype クラス | XmlSchemaDatatype メンバ | System.Xml.Schema 名前空間