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
| Parameter | Type | Description |
|---|---|---|
| ns | String | The 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.
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | ns is either nullptr or String::Empty. |
See Also
- Class String
- Class XmlWriter
- Namespace System::Xml
- Library Aspose.Slides