Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / OpenXmlHelper Class / WriteObject Method
The object to serialize.


In This Topic
    WriteObject Method
    In This Topic
    Serializes the specified object to XML text.
    Syntax
    'Declaration
     
    
    Public Shared Function WriteObject( _
       ByVal writer As XmlWriter, _
       ByVal name As String, _
       ByVal obj As Object _
    ) As Boolean
    'Usage
     
    
    Dim writer As XmlWriter
    Dim name As String
    Dim obj As Object
    Dim value As Boolean
     
    value = OpenXmlHelper.WriteObject(writer, name, obj)
    public static bool WriteObject( 
       XmlWriter writer,
       string name,
       object obj
    )

    Parameters

    writer
    name
    obj
    The object to serialize.
    See Also