Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Serializer Class / SerializeObj(Object,String,XmlWriter) Method
The object to be serialized.
The element name of the object to be serialized.
The XmlWriter with which to write the object.


In This Topic
    SerializeObj(Object,String,XmlWriter) Method
    In This Topic
    Serializes the object as an element of XML.
    Syntax
    'Declaration
     
    Public Shared Sub SerializeObj( _
       ByVal obj As Object, _
       ByVal elementName As String, _
       ByVal writer As XmlWriter _
    ) 
    'Usage
     
    Dim obj As Object
    Dim elementName As String
    Dim writer As XmlWriter
     
    Serializer.SerializeObj(obj, elementName, writer)
    public static void SerializeObj( 
       object obj,
       string elementName,
       XmlWriter writer
    )

    Parameters

    obj
    The object to be serialized.
    elementName
    The element name of the object to be serialized.
    writer
    The XmlWriter with which to write the object.
    See Also