LookupPrefix()

XmlTextWriter::LookupPrefix(String) method

Returns the closest prefix defined in the current namespace scope for the namespace URI.

String System::Xml::XmlTextWriter::LookupPrefix(String ns) override

Arguments

ParameterTypeDescription
nsStringNamespace URI whose prefix you want to find.

Return Value

The matching prefix. Or nullptr if no matching namespace URI is found in the current scope.

See Also