共用方式為


IReplaceable.Replace Method

Definition

Overloads

Replace(Int32, Int32, String)
Replace(Int32, Int32, Char[], Int32, Int32)

Replace(Int32, Int32, String)

[Android.Runtime.Register("replace", "(IILjava/lang/String;)V", "GetReplace_IILjava_lang_String_Handler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void Replace (int start, int limit, string? text);
[<Android.Runtime.Register("replace", "(IILjava/lang/String;)V", "GetReplace_IILjava_lang_String_Handler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Replace : int * int * string -> unit

Parameters

start
Int32
limit
Int32
text
String
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

Replace(Int32, Int32, Char[], Int32, Int32)

[Android.Runtime.Register("replace", "(II[CII)V", "GetReplace_IIarrayCIIHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void Replace (int start, int limit, char[]? chars, int charsStart, int charsLen);
[<Android.Runtime.Register("replace", "(II[CII)V", "GetReplace_IIarrayCIIHandler:Android.Icu.Text.IReplaceableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Replace : int * int * char[] * int * int -> unit

Parameters

start
Int32
limit
Int32
chars
Char[]
charsStart
Int32
charsLen
Int32
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