 | 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.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static string ClrToXmlType(
Type clrType
)
Public Shared Function ClrToXmlType (
clrType As Type
) As String
public:
static String^ ClrToXmlType(
Type^ clrType
)
Parameters
- clrType Type
- .Net data Type.
Return Value
String
the name of the XML type
Exceptions
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