 | XmlTypeCodeExtensionsDefault Method |
Note: This API is now obsolete.
Returns the default value for XmlTypeCode
Namespace: Aml.Engine.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Method Default is deprecated, please use DefaultDecodedValue or DefaultEncodedValue instead")]
public static Object Default(
this XmlTypeCode typeCode
)
<ExtensionAttribute>
<ObsoleteAttribute("Method Default is deprecated, please use DefaultDecodedValue or DefaultEncodedValue instead")>
Public Shared Function Default (
typeCode As XmlTypeCode
) As Object
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Method Default is deprecated, please use DefaultDecodedValue or DefaultEncodedValue instead")]
static Object^ Default(
XmlTypeCode typeCode
)
Parameters
- typeCode XmlTypeCode
- Source
Return Value
ObjectThe default 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