XPathAtomicValue.CreateLanguage MethodXPathAtomicValue.CreateLanguage MethodXPathAtomicValue::CreateLanguage Method
- XmlPrime 2.7
 - Other Versions ▼
 
            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.
Return Value
Type: XmlPrime.XPathAtomicValueXmlPrime.XPathAtomicValueXmlPrime::XPathAtomicValue^
A new XPathAtomicValueXPathAtomicValueXPathAtomicValue with type xs:language.
Exceptions
| Exception | Condition | 
| ArgumentNullExceptionArgumentNullExceptionArgumentNullException | value is null
    a null reference (Nothing in Visual Basic)
  nullptr. | 
| FormatExceptionFormatExceptionFormatException | value is not a valid xs:language. | 
