UnicodeSet.ContainsNone 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.
Overloads
ContainsNone(Int32, Int32) |
Returns true if this set contains none of the characters of the given range. |
ContainsNone(String) |
Returns true if this set contains none of the characters of the given string. |
ContainsNone(IIterable) | |
ContainsNone(ICharSequence) |
Returns true if this set contains none of the characters of the given string. |
ContainsNone(UnicodeSet) |
Returns true if none of the characters or strings in this UnicodeSet appears in the string. |
ContainsNone(Int32, Int32)
Returns true if this set contains none of the characters of the given range.
[Android.Runtime.Register("containsNone", "(II)Z", "GetContainsNone_IIHandler", ApiSince=24)]
public virtual bool ContainsNone (int start, int end);
[<Android.Runtime.Register("containsNone", "(II)Z", "GetContainsNone_IIHandler", ApiSince=24)>]
abstract member ContainsNone : int * int -> bool
override this.ContainsNone : int * int -> bool
Parameters
- start
- Int32
first character, inclusive, of the range
- end
- Int32
last character, inclusive, of the range
Returns
true if the test condition is met
- Attributes
Remarks
Returns true if this set contains none of the characters of the given range.
Java documentation for android.icu.text.UnicodeSet.containsNone(int, int)
.
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
ContainsNone(String)
Returns true if this set contains none of the characters of the given string.
public bool ContainsNone (string? s);
member this.ContainsNone : string -> bool
Parameters
- s
- String
string containing characters to be checked for containment
Returns
true if the test condition is met
Remarks
Returns true if this set contains none of the characters of the given string.
Java documentation for android.icu.text.UnicodeSet.containsNone(java.lang.CharSequence)
.
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
ContainsNone(IIterable)
[Android.Runtime.Register("containsNone", "(Ljava/lang/Iterable;)Z", "GetContainsNone_Ljava_lang_Iterable_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.CharSequence" })]
public virtual bool ContainsNone (Java.Lang.IIterable? collection);
[<Android.Runtime.Register("containsNone", "(Ljava/lang/Iterable;)Z", "GetContainsNone_Ljava_lang_Iterable_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.CharSequence" })>]
abstract member ContainsNone : Java.Lang.IIterable -> bool
override this.ContainsNone : Java.Lang.IIterable -> bool
Parameters
- collection
- IIterable
Returns
- Attributes
Remarks
Java documentation for android.icu.text.UnicodeSet.containsNone(java.lang.Iterable<T>)
.
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
ContainsNone(ICharSequence)
Returns true if this set contains none of the characters of the given string.
[Android.Runtime.Register("containsNone", "(Ljava/lang/CharSequence;)Z", "GetContainsNone_Ljava_lang_CharSequence_Handler", ApiSince=24)]
public virtual bool ContainsNone (Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("containsNone", "(Ljava/lang/CharSequence;)Z", "GetContainsNone_Ljava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member ContainsNone : Java.Lang.ICharSequence -> bool
override this.ContainsNone : Java.Lang.ICharSequence -> bool
Parameters
string containing characters to be checked for containment
Returns
true if the test condition is met
- Attributes
Remarks
Returns true if this set contains none of the characters of the given string.
Java documentation for android.icu.text.UnicodeSet.containsNone(java.lang.CharSequence)
.
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
ContainsNone(UnicodeSet)
Returns true if none of the characters or strings in this UnicodeSet appears in the string.
[Android.Runtime.Register("containsNone", "(Landroid/icu/text/UnicodeSet;)Z", "GetContainsNone_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)]
public virtual bool ContainsNone (Android.Icu.Text.UnicodeSet? b);
[<Android.Runtime.Register("containsNone", "(Landroid/icu/text/UnicodeSet;)Z", "GetContainsNone_Landroid_icu_text_UnicodeSet_Handler", ApiSince=24)>]
abstract member ContainsNone : Android.Icu.Text.UnicodeSet -> bool
override this.ContainsNone : Android.Icu.Text.UnicodeSet -> bool
Parameters
set to be checked for containment
Returns
true if the test condition is met
- Attributes
Remarks
Returns true if none of the characters or strings in this UnicodeSet appears in the string. For example, for the Unicode set [a{bc}{cd}]<br> containsNone is true for: "xy", "cb"<br> containsNone is false for: "a", "bc", "bcd"<br>
Java documentation for android.icu.text.UnicodeSet.containsNone(android.icu.text.UnicodeSet)
.
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.