INameList.ContainsNS(String, 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.
Test if the pair namespaceURI/name is part of this
NameList
.
[Android.Runtime.Register("containsNS", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetContainsNS_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.INameListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool ContainsNS (string? namespaceURI, string? name);
[<Android.Runtime.Register("containsNS", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetContainsNS_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.INameListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ContainsNS : string * string -> bool
Parameters
- namespaceURI
- String
The namespace URI to look for.
- name
- String
The name to look for.
Returns
true
if the pair namespaceURI/name has been
found, false
otherwise.
- Attributes
Remarks
Test if the pair namespaceURI/name is part of this NameList
.
Java documentation for org.w3c.dom.NameList.containsNS(java.lang.String, 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.