语言

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

作为资源的负按钮文本。

特性

注解

Java文档android.preference.DialogPreference.setNegativeButtonText(int)。

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

适用于

另请参阅