XmlRootAttribute.DataType プロパティ
アセンブリ: System.Xml (system.xml.dll 内)

Dim instance As XmlRootAttribute Dim value As String value = instance.DataType instance.DataType = value
/** @property */ public String get_DataType () /** @property */ public void set_DataType (String value)
W3C (World Wide Web Consortium) (www.w3.org ) のドキュメント『XML Schema: DataTypes』で定義されている XSD (XML スキーマ ドキュメント) データ型。

XSD の単純データ型と、それに相当する .NET データ型の表を次に示します。
XSD base64Binary データ型と XSD hexBinary データ型の場合は、Byte 構造体の配列を使用し、DataType プロパティがデータ型に応じて "base64Binary" または "hexBinary" に設定されている XmlRootAttribute を適用します。XSD time データ型と XSD date データ型の場合は、DateTime 型を使用し、DataType が "date" または "time" に設定されている XmlRootAttribute を適用します。
文字列に割り当てられたすべての XSD 型について、DataType プロパティが XSD 型に設定されている XmlRootAttribute を適用します。ただし、これで変更されるのはメンバのスキーマだけであり、シリアル化形式は変更されません。
![]() |
---|
XML データ型の詳細については、W3C (World Wide Web Consortium) (www.w3.org) のドキュメント『XML Schema Part 2: Datatypes』を参照してください。
anyURI | |
base64Binary | |
SByte | |
gDay | |
gMonth | |
gMonthDay | |
gYear | |
gYearMonth | |
hexBinary | |
IDREF | |
IDREFS | |
Int32 | |
Int64 | |
NCName | |
negativeInteger | |
NMTOKEN | |
NMTOKENS | |
normalizedString | |
nonNegativeInteger | |
nonPositiveInteger | |
positiveInteger | |
QName | XmlQualifiedName |
recurringDate | |
Int16 | |
unsignedByte | |
unsignedInt | UInt32 |
unsignedLong | UInt64 |
unsignedShort | UInt16 |

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からXmlRootAttribute.DataType プロパティを検索する場合は、下記のリンクをクリックしてください。

- XmlRootAttribute.DataType プロパティのページへのリンク