XPathAtomicValue.CreateId MethodXPathAtomicValue.CreateId MethodXPathAtomicValue::CreateId Method

Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class with type xs:ID from a stringStringString value.

Syntax

Public Shared Function CreateId( _
    value As String _
) As XPathAtomicValue
public static XPathAtomicValue CreateId(
    string value
)
public:
static XPathAtomicValue^ CreateId(
    String^ value
)
 

Parameters

value

Type: System.StringSystem.StringSystem::String^

The value.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionvalue is null a null reference (Nothing in Visual Basic) nullptr.
FormatExceptionFormatExceptionFormatExceptionvalue is not a valid xs:ID.