DateTimePatternGenerator.SetAppendItemName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the names of fields, eg "era" in English for ERA.
[Android.Runtime.Register("setAppendItemName", "(ILjava/lang/String;)V", "GetSetAppendItemName_ILjava_lang_String_Handler", ApiSince=24)]
public virtual void SetAppendItemName (Android.Icu.Text.DateTimePatternField field, string? value);
[<Android.Runtime.Register("setAppendItemName", "(ILjava/lang/String;)V", "GetSetAppendItemName_ILjava_lang_String_Handler", ApiSince=24)>]
abstract member SetAppendItemName : Android.Icu.Text.DateTimePatternField * string -> unit
override this.SetAppendItemName : Android.Icu.Text.DateTimePatternField * string -> unit
Parameters
- field
- DateTimePatternField
Index of the append item names.
- value
- String
The value to set the item to.
- Attributes
Remarks
Sets the names of fields, eg "era" in English for ERA. These are only used if the corresponding AppendItemFormat is used, and if it contains a {2} variable.
This reflects the way that the CLDR data is organized.
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.