語言

DialogPreference.SetNegativeButtonText(Int32) 方法

定義

[Android.Runtime.Register("setNegativeButtonText", "(I)V", "GetSetNegativeButtonText_IHandler")]
public virtual void SetNegativeButtonText(int negativeButtonTextResId);
[<Android.Runtime.Register("setNegativeButtonText", "(I)V", "GetSetNegativeButtonText_IHandler")>]
abstract member SetNegativeButtonText : int -> unit
override this.SetNegativeButtonText : int -> unit

參數

negativeButtonTextResId
Int32

負面按鈕的文字作為資源。

屬性

備註

的 android.preference.DialogPreference.setNegativeButtonText(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱