语言

SettingsPreferenceValue.IntValue 属性

定义

返回首选项的 int 值,类型必须为 #TYPE_INT。

public int IntValue { [Android.Runtime.Register("getIntValue", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getIntValue", "()I", "", ApiSince=36)>]
member this.IntValue : int

属性值

32 位整数首选项值。 仅当为 Int.时Type,才使用此属性。

特性

注解

返回首选项的 int 值,类型必须为 #TYPE_INT。

Java文档android.service.settings.preferences.SettingsPreferenceValue.getIntValue()。

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

适用于