Language

DateFormat.SetBooleanAttribute(DateFormat+BooleanAttribute, Boolean) メソッド

定義

このインスタンスのブール値属性を設定します。

[Android.Runtime.Register("setBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;Z)Landroid/icu/text/DateFormat;", "GetSetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_ZHandler", ApiSince=24)]
public virtual Android.Icu.Text.DateFormat? SetBooleanAttribute(Android.Icu.Text.DateFormat.BooleanAttribute? key, bool value);
[<Android.Runtime.Register("setBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;Z)Landroid/icu/text/DateFormat;", "GetSetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_ZHandler", ApiSince=24)>]
abstract member SetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute * bool -> Android.Icu.Text.DateFormat
override this.SetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute * bool -> Android.Icu.Text.DateFormat

パラメーター

key
DateFormat.BooleanAttribute

変更する日付解析オプション。

value
Boolean

true オプションを有効にするには、 false して無効にします。

戻り値

解析オプションが更新された後のこの日付フォーマッタ。

属性

注釈

このインスタンスのブール値属性を設定します。 DateFormat の特徴は、ブール属性によって制御されます。

android.icu.text.DateFormat.setBooleanAttributeの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象