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
| Parameter | Type | Description |
|---|---|---|
| ns | String | 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 XmlTextWriter
- Namespace System::Xml
- Library Aspose.Slides