ComponentOne DataObjects for .NET
WriteXml(Stream) Method

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressConnection Class > WriteXml Method : WriteXml(Stream) Method
The stream to which to write.
Writes XML data from the C1ExpressConnection.
Syntax
'Declaration
 
Public Overloads Sub WriteXml( _
   ByVal stream As System.IO.Stream _
) 
public void WriteXml( 
   System.IO.Stream stream
)

Parameters

stream
The stream to which to write.
Remarks
The WriteXml method is used to save the data in an XML form so it can be later restored with ReadXml(String). Together, these methods allow to save the whole data contents of a C1DataSet and restore it later, for example, to save work when no database connection is available to save it in the database, and restore it and send to the database for update when the connection becomes available.
See Also

Reference

C1ExpressConnection Class
C1ExpressConnection Members
Overload List