XMLSerializeHelperXMLSerializeT Method |
Serializes supplied object to XML string
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public static string XMLSerialize<T>(
T ObjectToSerialize
)
Public Shared Function XMLSerialize(Of T) (
ObjectToSerialize As T
) As String
public:
generic<typename T>
static String^ XMLSerialize(
T ObjectToSerialize
)
static member XMLSerialize :
ObjectToSerialize : 'T -> string
Parameters
- ObjectToSerialize
- Type: T
The object to be serialized
Type Parameters
- T
- The type to be serialized
Return Value
Type:
StringXML string representation of object
Remarks This method raises exception on failure.
See Also