TextSnapshot(SurroundingText, Int32, Int32, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新的 實例 TextSnapshot
[Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/SurroundingText;III)V", "", ApiSince=33)]
public TextSnapshot(Android.Views.InputMethods.SurroundingText surroundingText, int compositionStart, int compositionEnd, int cursorCapsMode);
[<Android.Runtime.Register(".ctor", "(Landroid/view/inputmethod/SurroundingText;III)V", "", ApiSince=33)>]
new Android.Views.InputMethods.TextSnapshot : Android.Views.InputMethods.SurroundingText * int * int * int -> Android.Views.InputMethods.TextSnapshot
參數
- surroundingText
- SurroundingText
SurroundingText 在目前的編輯欄位中。
- compositionStart
- Int32
寫作文本的起始索引。
-1 如果沒有寫作文本。
- compositionEnd
- Int32
寫作文本的結尾索引。
-1 如果沒有寫作文本。
- cursorCapsMode
- Int32
文字中第一個被編輯字元的大小寫模式。 參見 EditorInfo#initialCapsMode。
- 屬性
備註
建立一個新的 實例 TextSnapshot
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。