QName.Split Method (string, out string, out string, out string)QName.Split Method (String, ByRef String, ByRef String, ByRef String)QName::Split Method (String^, String^%, String^%, String^%)
- XmlPrime 3.1
- Other Versions ▼
Splits the specified lexical representation of an
xs:QName
into a prefix and local name.
Syntax
Parameters
- qualifiedName
Type: System.StringSystem.StringSystem::String^
The lexical representation of an
xs:QName
.- ns
Type: out System.StringByRef System.StringSystem::String^%
The namespace.
- prefix
Type: out System.StringByRef System.StringSystem::String^%
When this method returns, contains the prefix of the qualified name, or
null
a null reference (Nothing
in Visual Basic)nullptr
if the qualified name has no prefix.- localName
Type: out System.StringByRef System.StringSystem::String^%
When this method returns, contains the local part of the qualified name.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | qualifiedName is null
a null reference (Nothing in Visual Basic)
nullptr |
Remarks
This method does not check that qualifiedName is a valid lexical representation of anxs:qName
.