Selerix Developer Tools
DeserializeFromString Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > SerializationHelper Class : DeserializeFromString Method
The XML.
Type of the object.
Deserializes from string.
Syntax
'Declaration
 
Public Shared Function DeserializeFromString( _
   ByVal xml As String, _
   ByVal objectType As Type _
) As Object
'Usage
 
Dim xml As String
Dim objectType As Type
Dim value As Object
 
value = SerializationHelper.DeserializeFromString(xml, objectType)
public static object DeserializeFromString( 
   string xml,
   Type objectType
)
public function DeserializeFromString( 
    xml: String;
    objectType: Type
): TObject; static; 
public static function DeserializeFromString( 
   xml : String,
   objectType : Type
) : Object;
public: static Object* DeserializeFromString( 
   string* xml,
   Type* objectType
) 
public:
static Object^ DeserializeFromString( 
   String^ xml,
   Type^ objectType
) 

Parameters

xml
The XML.
objectType
Type of the object.
See Also

Reference

SerializationHelper Class
SerializationHelper Members