語言

Edits.Iterator.NewLength 方法

定義

目的字串中當前張成的長度,起點 #destinationIndex為 ,或替換字串中從 開始 #replacementIndex的長度。

[Android.Runtime.Register("newLength", "()I", "", ApiSince=29)]
public int NewLength();
[<Android.Runtime.Register("newLength", "()I", "", ApiSince=29)>]
member this.NewLength : unit -> int

傳回

如果 hasChange() 為真,則是目的字串中的單位數。 如果 hasChange() 為假,則與 oldLength 相同。

屬性

備註

目的字串中當前張成的長度,起點 #destinationIndex為 ,或替換字串中從 開始 #replacementIndex的長度。

Java 文件 android.icu.text.Edits.Iterator.newLength()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於