DateFormat.GetBooleanAttribute(DateFormat+BooleanAttribute) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果返回属性缺少 false,则返回此实例的指定布尔值Attribute 的当前值。
[Android.Runtime.Register("getBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;)Z", "GetGetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_Handler", ApiSince=24)]
public virtual bool GetBooleanAttribute(Android.Icu.Text.DateFormat.BooleanAttribute? key);
[<Android.Runtime.Register("getBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;)Z", "GetGetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_Handler", ApiSince=24)>]
abstract member GetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute -> bool
override this.GetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute -> bool
参数
查询其启用状态的日期分析选项。
返回
true 如果已启用所选分析选项,则为 ;否则,为 false.
- 特性
注解
如果返回属性缺少 false,则返回此实例的指定布尔值Attribute 的当前值。
Android 参考。android.icu.text.DateFormat.getBooleanAttribute
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。