[]
        
(Showing Draft Content)

FarPoint.Win.Serializer.GetObjectXml

GetObjectXml Method

GetObjectXml(ISerializeSupport, string)

Serializes an object to an XML string.

Declaration
public static string GetObjectXml(ISerializeSupport o, string elementName)
Public Shared Function GetObjectXml(o As ISerializeSupport, elementName As String) As String
Parameters
Type Name Description
ISerializeSupport o

Object to serialize

string elementName

Name of XML element

Returns
Type Description
string

GetObjectXml(ISerializeSupport, string, Assembly)

Serializes an object to an XML string.

Declaration
public static string GetObjectXml(ISerializeSupport o, string elementName, Assembly callingAssembly)
Public Shared Function GetObjectXml(o As ISerializeSupport, elementName As String, callingAssembly As Assembly) As String
Parameters
Type Name Description
ISerializeSupport o

Object to serialize

string elementName

Name of XML element

Assembly callingAssembly

Calling assembly

Returns
Type Description
string