Share via


INameList.Contains(String) Method

Definition

Test if a name is part of this NameList.

[Android.Runtime.Register("contains", "(Ljava/lang/String;)Z", "GetContains_Ljava_lang_String_Handler:Org.W3c.Dom.INameListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Contains (string? str);
[<Android.Runtime.Register("contains", "(Ljava/lang/String;)Z", "GetContains_Ljava_lang_String_Handler:Org.W3c.Dom.INameListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Contains : string -> bool

Parameters

str
String

The name to look for.

Returns

true if the name has been found, false otherwise.

Attributes

Remarks

Test if a name is part of this NameList.

Java documentation for org.w3c.dom.NameList.contains(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.

Applies to