UnicodeSet.Contains 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
Contains(String) |
Returns |
Contains(ICharSequence) |
Returns |
Contains(Int32) |
Returns true if this set contains the given character. |
Contains(Int32, Int32) |
Returns true if this set contains every character of the given range. |
Contains(String)
Returns true
if this set contains the given
multicharacter string.
public bool Contains (string? s);
override this.Contains : string -> bool
Parameters
- s
- String
string to be checked for containment
Returns
true
if this set contains the specified string
Remarks
Returns true
if this set contains the given multicharacter string.
Java documentation for android.icu.text.UnicodeSet.contains(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
Contains(ICharSequence)
Returns true
if this set contains the given
multicharacter string.
[Android.Runtime.Register("contains", "(Ljava/lang/CharSequence;)Z", "", ApiSince=24)]
public bool Contains (Java.Lang.ICharSequence? s);
[<Android.Runtime.Register("contains", "(Ljava/lang/CharSequence;)Z", "", ApiSince=24)>]
override this.Contains : Java.Lang.ICharSequence -> bool
Parameters
string to be checked for containment
Returns
true
if this set contains the specified string
- Attributes
Remarks
Returns true
if this set contains the given multicharacter string.
Java documentation for android.icu.text.UnicodeSet.contains(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
Contains(Int32)
Returns true if this set contains the given character.
[Android.Runtime.Register("contains", "(I)Z", "GetContains_IHandler", ApiSince=24)]
public override bool Contains (int c);
[<Android.Runtime.Register("contains", "(I)Z", "GetContains_IHandler", ApiSince=24)>]
override this.Contains : int -> bool
Parameters
- c
- Int32
character to be checked for containment
Returns
true if the test condition is met
- Attributes
Remarks
Returns true if this set contains the given character.
Java documentation for android.icu.text.UnicodeSet.contains(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
Contains(Int32, Int32)
Returns true if this set contains every character of the given range.
[Android.Runtime.Register("contains", "(II)Z", "GetContains_IIHandler", ApiSince=24)]
public virtual bool Contains (int start, int end);
[<Android.Runtime.Register("contains", "(II)Z", "GetContains_IIHandler", ApiSince=24)>]
override this.Contains : 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 every character of the given range.
Java documentation for android.icu.text.UnicodeSet.contains(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.