Specifies how to read XML data and a relational schema into a DataSet.
Public Enumeration XmlReadMode
Dim instance As XmlReadMode
public enum XmlReadMode
public enum class XmlReadMode
Performs the most appropriate of these actions:
If the data is a DiffGram, sets XmlReadMode to DiffGram.
-or-
If the dataset already has a schema, or the document contains an in-line schema, sets XmlReadMode to ReadSchema.
If the dataset does not already have a schema and the document does not contain an in-line schema, sets XmlReadMode to InferSchema.
The target DataSet must have the same schema as the DataSet on which WriteXml as DiffGram is called. Otherwise the DiffGram merge operation fails, and an exception is thrown.
Use the members of this enumeration when setting the ReadMode parameter of the ReadXml method.
Auto mode may be slower than setting XmlReadMode to an explicit option.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune