XPathAtomicValue.CreateLanguage MethodXPathAtomicValue.CreateLanguage MethodXPathAtomicValue::CreateLanguage Method

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

Syntax

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