INode.LookupNamespaceURI(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Look up the namespace URI associated to the given prefix, starting from this node.
[Android.Runtime.Register("lookupNamespaceURI", "(Ljava/lang/String;)Ljava/lang/String;", "GetLookupNamespaceURI_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string? LookupNamespaceURI (string? prefix);
[<Android.Runtime.Register("lookupNamespaceURI", "(Ljava/lang/String;)Ljava/lang/String;", "GetLookupNamespaceURI_Ljava_lang_String_Handler:Org.W3c.Dom.INodeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member LookupNamespaceURI : string -> string
Parameters
- prefix
- String
The prefix to look for. If this parameter is
null
, the method will return the default namespace URI
if any.
Returns
Returns the associated namespace URI or null
if
none is found.
- Attributes
Remarks
Look up the namespace URI associated to the given prefix, starting from this node. <br>See for details on the algorithm used by this method.
Added in DOM Level 3.
Java documentation for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.