[]
        
(Showing Draft Content)

FarPoint.Win.Serializer.LoadObjectXml

LoadObjectXml Method

LoadObjectXml(Type, string, string)

Creates and deserializes a new instance of an object saved with GetObjectXml.

Declaration
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
Parameters
Type Name Description
Type type

Type of object

string xml

XML string

string elementName

Name of XML element

Returns
Type Description
object

LoadObjectXml(Type, string, string, Assembly)

Creates and deserializes a new instance of an object saved with GetObjectXml.

Declaration
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
Parameters
Type Name Description
Type type

Type of object

string xml

XML string

string elementName

Name of XML element

Assembly callingAssembly

Calling assembly

Returns
Type Description
object