Sdílet prostřednictvím


UnicodeSet.Retain Method

Definition

Overloads

Retain(Int32, Int32)
Retain(ICharSequence)
Retain(Int32)
Retain(String)

Retain(Int32, Int32)

[Android.Runtime.Register("retain", "(II)Landroid/icu/text/UnicodeSet;", "GetRetain_IIHandler", ApiSince=24)]
public virtual Android.Icu.Text.UnicodeSet? Retain (int start, int end);
[<Android.Runtime.Register("retain", "(II)Landroid/icu/text/UnicodeSet;", "GetRetain_IIHandler", ApiSince=24)>]
abstract member Retain : int * int -> Android.Icu.Text.UnicodeSet
override this.Retain : int * int -> Android.Icu.Text.UnicodeSet

Parameters

start
Int32
end
Int32

Returns

Attributes

Remarks

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

Retain(ICharSequence)

[Android.Runtime.Register("retain", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? Retain (Java.Lang.ICharSequence? cs);
[<Android.Runtime.Register("retain", "(Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.Retain : Java.Lang.ICharSequence -> Android.Icu.Text.UnicodeSet

Parameters

Returns

Attributes

Remarks

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

Retain(Int32)

[Android.Runtime.Register("retain", "(I)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)]
public Android.Icu.Text.UnicodeSet? Retain (int c);
[<Android.Runtime.Register("retain", "(I)Landroid/icu/text/UnicodeSet;", "", ApiSince=24)>]
member this.Retain : int -> Android.Icu.Text.UnicodeSet

Parameters

c
Int32

Returns

Attributes

Remarks

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

Retain(String)

public Android.Icu.Text.UnicodeSet? Retain (string? cs);
member this.Retain : string -> Android.Icu.Text.UnicodeSet

Parameters

cs
String

Returns

Remarks

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