XdmType.AtomicType Method (string, string)XdmType.AtomicType Method (String, String)XdmType::AtomicType Method (String^, String^)

Creates a reference to the atomic type with the specified name.

Syntax

Public Shared Function AtomicType( _
    localName As String, _
    namespaceUri As String _
) As XdmType
public static XdmType AtomicType(
    string localName,
    string namespaceUri
)
public:
static XdmType^ AtomicType(
    String^ localName, 
    String^ namespaceUri
)
 

Parameters

localName

Type: System.StringSystem.StringSystem::String^

The local name of the atomic type to reference.

namespaceUri

Type: System.StringSystem.StringSystem::String^

The namespace of the atomic type to reference.

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the atomic type with the specified name.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionlocalName or namespaceUri is null a null reference (Nothing in Visual Basic) nullptr