TextView.SetInputExtras(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定文字的額外輸入數據,也就是
EditorInfo#extras TextBoxAttribute.extras 建立輸入連線時將會填入的套件組合。
[Android.Runtime.Register("setInputExtras", "(I)V", "GetSetInputExtras_IHandler")]
public virtual void SetInputExtras(int xmlResId);
[<Android.Runtime.Register("setInputExtras", "(I)V", "GetSetInputExtras_IHandler")>]
abstract member SetInputExtras : int -> unit
override this.SetInputExtras : int -> unit
參數
- xmlResId
- Int32
int
- 屬性
例外狀況
備註
設定文字的額外輸入資料,也就是 EditorInfo#extras TextBoxAttribute.extras 建立輸入連接時會被填入的 Bundle。 給定的整數是儲存 android.R.styleable#InputExtras <input-extras> XML 樹的 XML 資源的資源識別碼。
Java 文件 android.widget.TextView.setInputExtras(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。