DataSet.GetXmlSchema Method
.NET Framework 3.0
Returns the XML Schema for the XML representation of the data stored in the DataSet.
Namespace: System.Data
Assembly: System.Data (in system.data.dll)
Assembly: System.Data (in system.data.dll)
Calling this method is identical to calling WriteXmlSchema, except that only the primary schema is written.
GetXmlSchema returns XML as a string, and therefore requires more overhead than WriteXmlSchema to write XML to a file.
If you build a DataSet using schema inference and serialize it using XML or Web services, the column ordering may change.
Windows 98, Windows Server 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
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: