Org.Xml.Sax.Helpers.NamespaceSupport.GetPrefix Method
Return one of the prefixes mapped to a Namespace URI.

Syntax

[Android.Runtime.Register("getPrefix", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetPrefix_Ljava_lang_String_Handler")]
public virtual string GetPrefix (string uri)

See Also

NamespaceSupport.GetPrefixes(string)
NamespaceSupport.GetURI(string)

Parameters

uri
the namespace URI

Returns

Documentation for this section has not yet been entered.

Remarks

Return one of the prefixes mapped to a Namespace URI.

If more than one prefix is currently mapped to the same URI, this method will make an arbitrary selection; if you want all of the prefixes, use the NamespaceSupport.Prefixes method instead.

Note: this will never return the empty (default) prefix; to check for a default prefix, use the NamespaceSupport.GetURI(string) method with an argument of "".

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax.Helpers
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1