Returns the content of a object as a XML document.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- value
- Type: System..::.Object
A object.
Return Value
A XML string corresponding to the content of a object.
Remarks
The method returns a value (content) of a object as a XML string, which is created by serialization of the object.
XConvert..::.ObjectToXmlString(Object, Boolean)
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | value is nullNothingnullptra null reference (Nothing in Visual Basic). |