[]
Creates and deserializes a new instance of an object saved with GetObjectXml.
public static object LoadObjectXml(Type type, string xml, string elementName)
Public Shared Function LoadObjectXml(type As Type, xml As String, elementName As String) As Object
Type | Name | Description |
---|---|---|
Type | type | Type of object |
string | xml | XML string |
string | elementName | Name of XML element |
Type | Description |
---|---|
object |
Creates and deserializes a new instance of an object saved with GetObjectXml.
public static object LoadObjectXml(Type type, string xml, string elementName, Assembly callingAssembly)
Public Shared Function LoadObjectXml(type As Type, xml As String, elementName As String, callingAssembly As Assembly) As Object
Type | Name | Description |
---|---|---|
Type | type | Type of object |
string | xml | XML string |
string | elementName | Name of XML element |
Assembly | callingAssembly | Calling assembly |
Type | Description |
---|---|
object |