XmlDataDocument Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlDataDocument class.
Overloads
XmlDataDocument() |
Initializes a new instance of the XmlDataDocument class. |
XmlDataDocument(DataSet) |
Initializes a new instance of the XmlDataDocument class with the specified DataSet. |
XmlDataDocument()
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
Initializes a new instance of the XmlDataDocument class.
public:
XmlDataDocument();
public XmlDataDocument();
Public Sub New ()
Remarks
An empty DataSet is created and associated with the XmlDataDocument
.
Applies to
XmlDataDocument(DataSet)
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
- Source:
- XmlDataDocument.cs
Initializes a new instance of the XmlDataDocument class with the specified DataSet.
public:
XmlDataDocument(System::Data::DataSet ^ dataset);
public XmlDataDocument(System.Data.DataSet dataset);
new System.Xml.XmlDataDocument : System.Data.DataSet -> System.Xml.XmlDataDocument
Public Sub New (dataset As DataSet)
Parameters
- dataset
- DataSet
The DataSet
to load into XmlDataDocument
.
Remarks
The XmlDataDocument
is synchronized with the specified DataSet
. Any data in the DataSet
is immediately available through the XmlDataDocument
. Any changes in the DataSet
are propagated in the XmlDataDocument
. Any changes made in the XmlDataDocument
, provided they match the DataSet
schema, are propagated in the DataSet
.