Method GetPrefix
GetPrefix(String)
Get the current or preferred prefix for a Namespace URI.
Declaration
public virtual string GetPrefix(string uri)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The Namespace URI. |
Returns
Type | Description |
---|---|
System.String | The preferred prefix, or "" for the default Namespace. |