LookupPrefix()

XmlWriter::LookupPrefix(String) method

When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI.

virtual String System::Xml::XmlWriter::LookupPrefix(String ns)=0

Arguments

ParameterTypeDescription
nsStringThe namespace 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