语言

RestrictionEntry.TypeBoolean 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.

类型为“bool”的限制。

[Android.Runtime.Register("TYPE_BOOLEAN")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)]
public const Android.Content.RestrictionEntryType TypeBoolean = 1;
[<Android.Runtime.Register("TYPE_BOOLEAN")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.RestrictionEntryType enum directly instead of this field.", true)>]
val mutable TypeBoolean : Android.Content.RestrictionEntryType

字段值

Value = 1

实现

特性

注解

类型为“bool”的限制。 使用它来存储布尔值,通常在 UI 中显示为复选框。

Java文档android.content.RestrictionEntry.TYPE_BOOLEAN。

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

适用于