Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / Serializer Class / GetObjectXml Method / GetObjectXml(ISerializeSupport2,String,Assembly,Boolean) Method
Object to serialize
Name of XML element
Calling assembly
Whether to save the data type


In This Topic
    GetObjectXml(ISerializeSupport2,String,Assembly,Boolean) Method
    In This Topic
    Serializes an object to an XML string.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetObjectXml( _
       ByVal o As ISerializeSupport2, _
       ByVal elementName As String, _
       ByVal callingAssembly As Assembly, _
       ByVal saveType As Boolean _
    ) As String
    'Usage
     
    
    Dim o As ISerializeSupport2
    Dim elementName As String
    Dim callingAssembly As Assembly
    Dim saveType As Boolean
    Dim value As String
     
    value = Serializer.GetObjectXml(o, elementName, callingAssembly, saveType)

    Parameters

    o
    Object to serialize
    elementName
    Name of XML element
    callingAssembly
    Calling assembly
    saveType
    Whether to save the data type
    See Also