共用方式為


DateTimePatternGenerator.AddPattern Method

Definition

[Android.Runtime.Register("addPattern", "(Ljava/lang/String;ZLandroid/icu/text/DateTimePatternGenerator$PatternInfo;)Landroid/icu/text/DateTimePatternGenerator;", "GetAddPattern_Ljava_lang_String_ZLandroid_icu_text_DateTimePatternGenerator_PatternInfo_Handler", ApiSince=24)]
public virtual Android.Icu.Text.DateTimePatternGenerator? AddPattern (string? pattern, bool override, Android.Icu.Text.DateTimePatternGenerator.PatternInfo? returnInfo);
[<Android.Runtime.Register("addPattern", "(Ljava/lang/String;ZLandroid/icu/text/DateTimePatternGenerator$PatternInfo;)Landroid/icu/text/DateTimePatternGenerator;", "GetAddPattern_Ljava_lang_String_ZLandroid_icu_text_DateTimePatternGenerator_PatternInfo_Handler", ApiSince=24)>]
abstract member AddPattern : string * bool * Android.Icu.Text.DateTimePatternGenerator.PatternInfo -> Android.Icu.Text.DateTimePatternGenerator
override this.AddPattern : string * bool * Android.Icu.Text.DateTimePatternGenerator.PatternInfo -> Android.Icu.Text.DateTimePatternGenerator

Parameters

pattern
String
override
Boolean

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to