Converts a XML string to a corresponding object.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- value
- Type: System..::.String
The XML string.
- objectType
- Type: System..::.Type
The type of a object which should be returned.
Return Value
An object which corresponds to a XML string.
Remarks
The method deserializes an object serialized into a XML string. (ObjectToXmlString(Object, Boolean)).
System.Xml.Serialization..::.XmlSerializer
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | objectType is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentNullException | value is nullNothingnullptra null reference (Nothing in Visual Basic). |