True DBGrid for WinForms | ComponentOne
C1.Win.TrueDBGrid.8 Assembly / C1.Win.TrueDBGrid.Util.Xml.Serialization Namespace / Serializer Class / Serialize Method / Serialize(XmlTextWriter,Object,MemberInfo,XmlSerializerNamespaces,Attribute[]) 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
Array of attributes that specify what to serialize

In This Topic
    Serialize(XmlTextWriter,Object,MemberInfo,XmlSerializerNamespaces,Attribute[]) 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 System.Object, _
       ByVal mi As System.Reflection.MemberInfo, _
       ByVal namespaces As System.Xml.Serialization.XmlSerializerNamespaces, _
       ByVal filter() As System.Attribute _
    ) 
    public void Serialize( 
       XmlTextWriter writer,
       System.object o,
       System.Reflection.MemberInfo mi,
       System.Xml.Serialization.XmlSerializerNamespaces namespaces,
       System.Attribute[] filter
    )

    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
    filter
    Array of attributes that specify what to serialize
    See Also