[]
Serializes an object to an XML string.
public static string GetObjectXml(ISerializeSupport o, string elementName)
Public Shared Function GetObjectXml(o As ISerializeSupport, elementName As String) As String
| Type | Name | Description |
|---|---|---|
| ISerializeSupport | o | Object to serialize |
| string | elementName | Name of XML element |
| Type | Description |
|---|---|
| string | XML string |
Serializes an object to an XML string.
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
| Type | Name | Description |
|---|---|---|
| ISerializeSupport | o | Object to serialize |
| string | elementName | Name of XML element |
| Assembly | callingAssembly | Calling assembly |
| Type | Description |
|---|---|
| string | XML string |