WriteQualifiedName()

XmlTextWriter::WriteQualifiedName(const String&, const String&) method

Writes out the namespace-qualified name. This method looks up the prefix that is in scope for the given namespace.

void System::Xml::XmlTextWriter::WriteQualifiedName(const String &localName, const String &ns) override

Arguments

ParameterTypeDescription
localNameconst String&The local name to write.
nsconst String&The namespace URI to associate with the name.

Exceptions

ExceptionDescription
ArgumentExceptionlocalName is either nullptr or String::Empty. localName is not a valid name according to the W3C Namespaces spec.

See Also