.Net Framework > v2.0.50727 > System > Data > DataTable > WriteXml WriteXml(Stream)
WriteXml(Stream,Boolean)
WriteXml(Stream,XmlWriteMode)
WriteXml(Stream,XmlWriteMode,Boolean)
WriteXml(TextWriter)
WriteXml(TextWriter,Boolean)
WriteXml(TextWriter,XmlWriteMode)
WriteXml(TextWriter,XmlWriteMode,Boolean)
WriteXml(String)
WriteXml(String,Boolean)
WriteXml(String,XmlWriteMode)
WriteXml(String,XmlWriteMode,Boolean)
WriteXml(XmlWriter)
WriteXml(XmlWriter,Boolean)
WriteXml(XmlWriter,XmlWriteMode)
WriteXml(XmlWriter,XmlWriteMode,Boolean)


WriteXml(Stream)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.IO.Stream.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(Stream,Boolean)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.IO.Stream. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(Stream,XmlWriteMode)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable to the specified file using the specified System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
modeXmlWriteMode
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(Stream,XmlWriteMode,Boolean)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable to the specified file using the specified System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
modeXmlWriteMode
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(TextWriter)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.IO.TextWriter.
Type
void
Character
public
Parameters
NameTypeDescription
writerTextWriter
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(TextWriter,Boolean)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.IO.TextWriter. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
writerTextWriter
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(TextWriter,XmlWriteMode)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified System.IO.TextWriter and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Type
void
Character
public
Parameters
NameTypeDescription
writerTextWriter
modeXmlWriteMode
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(TextWriter,XmlWriteMode,Boolean)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified System.IO.TextWriter and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
writerTextWriter
modeXmlWriteMode
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(String)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified file.
Type
void
Character
public
Parameters
NameTypeDescription
fileNameString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(String,Boolean)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified file. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
fileNameString
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(String,XmlWriteMode)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified file and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Type
void
Character
public
Parameters
NameTypeDescription
fileNameString
modeXmlWriteMode
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(String,XmlWriteMode,Boolean)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified file and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
fileNameString
modeXmlWriteMode
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(XmlWriter)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.Xml.XmlWriter.
Type
void
Character
public
Parameters
NameTypeDescription
writerXmlWriter
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(XmlWriter,Boolean)

Category
Method
Description
Writes the current contents of the System.Data.DataTable as XML using the specified System.Xml.XmlWriter.
Type
void
Character
public
Parameters
NameTypeDescription
writerXmlWriter
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(XmlWriter,XmlWriteMode)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified System.Xml.XmlWriter and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema.
Type
void
Character
public
Parameters
NameTypeDescription
writerXmlWriter
modeXmlWriteMode
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteXml(XmlWriter,XmlWriteMode,Boolean)

Category
Method
Description
Writes the current data, and optionally the schema, for the System.Data.DataTable using the specified System.Xml.XmlWriter and System.Data.XmlWriteMode. To write the schema, set the value for the mode parameter to WriteSchema. To save the data for the table and all its descendants, set the writeHierarchy parameter to true.
Type
void
Character
public
Parameters
NameTypeDescription
writerXmlWriter
modeXmlWriteMode
writeHierarchyBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database