Spread for ASP.NET 11 Product Documentation
GetObjectXml(ISerializeSupport,String) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class > GetObjectXml Method : GetObjectXml(ISerializeSupport,String) Method
Object to serialize
Name of XML element
Serializes an object to an XML string.
Syntax
'Declaration
 
Public Overloads Shared Function GetObjectXml( _
   ByVal o As ISerializeSupport, _
   ByVal elementName As String _
) As String
'Usage
 
Dim o As ISerializeSupport
Dim elementName As String
Dim value As String
 
value = Serializer.GetObjectXml(o, elementName)
public static string GetObjectXml( 
   ISerializeSupport o,
   string elementName
)

Parameters

o
Object to serialize
elementName
Name of XML element

Return Value

String of XML element
See Also

Reference

Serializer Class
Serializer Members
Overload List