Spread WPF 18
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
     
    <ExtensionAttribute()>
    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)
    [Extension()]
    public static bool WriteObject( 
       XmlWriter writer,
       string name,
       object obj
    )

    Parameters

    writer
    name
    obj
    The object to serialize.
    See Also