Method GetUri
GetUri(String)
Look up a prefix and get the currently-mapped Namespace URI.
This method looks up the prefix in the current context. Use the empty string ("") for the default Namespace.
Declaration
public string GetUri(string prefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | The prefix to look up. |
Returns
Type | Description |
---|---|
System.String | The associated Namespace URI, or null if the prefix is undeclared in this context. |