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
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。