ComponentOne List for WinForms
C1.Win.List.Util.Xml.Serialization Namespace / Serializer Class / Serialize Method

In This Topic
    Serialize Method (Serializer)
    In This Topic
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream. DOES NOT close the underlying stream. Useful for copying objects. Caller is responsible to call out writer.Close() to close writer and underlying stream.
    Overload List
    OverloadDescription
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream. DOES NOT close the underlying stream. Useful for copying objects. Caller is responsible to call out writer.Close() to close writer and underlying stream.  
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream.  
    Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter  
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream. DOES NOT close the underlying stream. Useful for copying objects. Caller is responsible to call out writer.Close() to close writer and underlying stream.  
     
    Serializes the specified Object and writes the XML-document instance to a file using the specified Stream.  
    Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter  
    Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter  
    Serializes the specified object to an XML formatted string.  
    See Also