XPathAtomicValue.CreateAnyUri MethodXPathAtomicValue.CreateAnyUri MethodXPathAtomicValue::CreateAnyUri Method
Creates a new instance of the XPathAtomicValueXPathAtomicValueXPathAtomicValue class with type
xs:anyURI
from a stringStringString value.
Syntax
Public Shared Function CreateAnyUri( _ value As String _ ) As XPathAtomicValue
public static XPathAtomicValue CreateAnyUri( string value )
public: static XPathAtomicValue^ CreateAnyUri( String^ value )
Parameters
- value
Type: System.StringSystem.StringSystem::String^
The value of the created atomic value.
Return Value
Type: XmlPrime.XPathAtomicValueXmlPrime.XPathAtomicValueXmlPrime::XPathAtomicValue^
A new XPathAtomicValueXPathAtomicValueXPathAtomicValue with type xs:anyURI
.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | value is null
a null reference (Nothing in Visual Basic)
nullptr . |
ArgumentExceptionArgumentExceptionArgumentException | value is not a valid xs:anyURI value. |