 | XmlTypeCodeExtensionsDefaultDecodedValue Method |
Returns the default value for an XmlTypeCode. The data type of the returned object is the associated CLR type
of the provided type code. The CLR type is available with the
AttributeType(XmlTypeCode) method.
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static Object DefaultDecodedValue(
this XmlTypeCode typeCode
)
<ExtensionAttribute>
Public Shared Function DefaultDecodedValue (
typeCode As XmlTypeCode
) As Object
public:
[ExtensionAttribute]
static Object^ DefaultDecodedValue(
XmlTypeCode typeCode
)
Parameters
- typeCode XmlTypeCode
- the type code
Return Value
ObjectThe default CLR type value, according to the provided type code.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
XmlTypeCode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also