Converts an object to an XML string.
Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax
C#
public static string ToXmlString<T>( T item, bool encodeWithUtf16 = false ) where T : new()
Parameters
- item
- Type: T
The object to convert. - encodeWithUtf16 (Optional)
- Type: SystemBoolean
if set to true [encode with UTF16].
Type Parameters
- T
Return Value
Type: StringSee Also