XdmType.AtomicType MethodXdmType.AtomicType MethodXdmType::AtomicType Method

Returns an XdmTypeXdmTypeXdmType instance which represents the specified atomic type.

Syntax

Public Shared Function AtomicType( _
    type As System.Xml.Schema.XmlSchemaSimpleType _
) As XdmType
public static XdmType AtomicType(
    System.Xml.Schema.XmlSchemaSimpleType type
)
public:
static XdmType^ AtomicType(
    System.Xml.Schema::XmlSchemaSimpleType^ type
)
 

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the specified atomic type.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptiontype is null a null reference (Nothing in Visual Basic) nullptr.
ArgumentExceptionArgumentExceptionArgumentExceptiontype is not an atomic type.