System::Xml::XmlWriter::LookupPrefix method

XmlWriter::LookupPrefix 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
ParameterTypeDescription
nsStringThe namespace URI whose prefix you want to find.

ReturnValue

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

See Also