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