Click or drag to resize

AttributeTypeTypeClrToXmlType Method

Gets the xmlType type for the specified CLR type. The Mapping is done according to Mapping XML Data Types to CLR Types. This reverse mapping is not unambiguous. If more than one mapping is possible, the most common used description is generated. If No mapping is defined the 'xs:string' is used.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static string ClrToXmlType(
	Type clrType
)

Parameters

clrType  Type
.Net data Type.

Return Value

String
the name of the XML type
Exceptions
ExceptionCondition
ArgumentNullExceptionclrType
Remarks
You can use the encoding and decoding methods of the CaexValue object, to receive a type conform result for the attribute value elements.
See Also