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


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

Parameters

o
Object to serialize
elementName
Name of XML element
callingAssembly
Calling assembly
See Also

Reference

Serializer Class
Serializer Members
Overload List