ComponentOne List for WinForms
C1.Win.C1List.Util.Xml.Serialization Namespace / Serializer Class / Serialize Method / Serialize(XmlTextWriter,Object,MemberInfo,XmlSerializerNamespaces) Method
The XmlWriter used to write the XML-document instance
The Object to serialize
The FieldInfo or MemberInfo object context for the object to serialize
The XmlSerializerNamespaces referenced by the object

In This Topic
    Serialize(XmlTextWriter,Object,MemberInfo,XmlSerializerNamespaces) Method
    In This Topic
    Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter
    Syntax
    'Declaration
     
    
    Public Overloads Sub Serialize( _
       ByVal writer As XmlTextWriter, _
       ByVal o As Object, _
       ByVal mi As MemberInfo, _
       ByVal namespaces As XmlSerializerNamespaces _
    ) 
    public void Serialize( 
       XmlTextWriter writer,
       object o,
       MemberInfo mi,
       XmlSerializerNamespaces namespaces
    )

    Parameters

    writer
    The XmlWriter used to write the XML-document instance
    o
    The Object to serialize
    mi
    The FieldInfo or MemberInfo object context for the object to serialize
    namespaces
    The XmlSerializerNamespaces referenced by the object
    See Also