語言

DateFormat.GetBooleanAttribute(DateFormat+BooleanAttribute) 方法

定義

如果缺少該屬性,則回傳該實例指定 BooleanAttribute 的當前值,則回傳 false。

[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

參數

傳回

屬性

備註

如果缺少該屬性,則回傳該實例指定 BooleanAttribute 的當前值,則回傳 false。

Android 參考資料。android.icu.text.DateFormat.getBooleanAttribute

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於