Spread Windows Forms 12.0 Product Documentation
WriteObject Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.IO.OpenXml Namespace > OpenXmlHelper Class : WriteObject Method
The object to serialize.
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

Reference

OpenXmlHelper Class
OpenXmlHelper Members