XPathAtomicValue.CreateNCName MethodXPathAtomicValue.CreateNCName MethodXPathAtomicValue::CreateNCName Method

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

Syntax

Public Shared Function CreateNCName( _
    value As String _
) As XPathAtomicValue
public static XPathAtomicValue CreateNCName(
    string value
)
public:
static XPathAtomicValue^ CreateNCName(
    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:NCName.