True DBGrid for WinForms | ComponentOne
C1.Win.TrueDBGrid.8 Assembly / C1.Win.TrueDBGrid.Util.Xml.Serialization Namespace / Serializer Class / Serialize Method / Serialize(Stream,Object,XmlSerializerNamespaces) Method
The Stream used to write the XML-document instance
The Object to serialize
The XmlSerializerNamespaces referenced by the object

In This Topic
    Serialize(Stream,Object,XmlSerializerNamespaces) Method
    In This Topic
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Serialize( _
       ByVal stream As System.IO.Stream, _
       ByVal o As System.Object, _
       ByVal namespaces As System.Xml.Serialization.XmlSerializerNamespaces _
    ) 
    public void Serialize( 
       System.IO.Stream stream,
       System.object o,
       System.Xml.Serialization.XmlSerializerNamespaces namespaces
    )

    Parameters

    stream
    The Stream used to write the XML-document instance
    o
    The Object to serialize
    namespaces
    The XmlSerializerNamespaces referenced by the object
    See Also