ListFormatter.FormatToValue 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.
Overloads
| Name | Description |
|---|---|
| FormatToValue(Object[]) |
Format a list of objects to a FormattedList. |
| FormatToValue(ICollection<Object>) |
Format a collection of objects to a FormattedList. |
FormatToValue(Object[])
Format a list of objects to a FormattedList.
[Android.Runtime.Register("formatToValue", "([Ljava/lang/Object;)Landroid/icu/text/ListFormatter$FormattedList;", "", ApiSince=33)]
public Android.Icu.Text.ListFormatter.FormattedList? FormatToValue(params Java.Lang.Object[]? items);
[<Android.Runtime.Register("formatToValue", "([Ljava/lang/Object;)Landroid/icu/text/ListFormatter$FormattedList;", "", ApiSince=33)>]
member this.FormatToValue : Java.Lang.Object[] -> Android.Icu.Text.ListFormatter.FormattedList
Parameters
- items
- Object[]
items to format. The toString() method is called on each.
Returns
items formatted into a FormattedList
- Attributes
Remarks
Format a list of objects to a FormattedList. You can access the offsets of each element from the FormattedList.
Android reference for android.icu.text.ListFormatter.formatToValue.
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
FormatToValue(ICollection<Object>)
Format a collection of objects to a FormattedList.
[Android.Runtime.Register("formatToValue", "(Ljava/util/Collection;)Landroid/icu/text/ListFormatter$FormattedList;", "", ApiSince=33)]
public Android.Icu.Text.ListFormatter.FormattedList? FormatToValue(System.Collections.Generic.ICollection<object>? items);
[<Android.Runtime.Register("formatToValue", "(Ljava/util/Collection;)Landroid/icu/text/ListFormatter$FormattedList;", "", ApiSince=33)>]
member this.FormatToValue : System.Collections.Generic.ICollection<obj> -> Android.Icu.Text.ListFormatter.FormattedList
Parameters
- items
- ICollection<Object>
items to format. The toString() method is called on each.
Returns
items formatted into a FormattedList
- Attributes
Remarks
Format a collection of objects to a FormattedList. You can access the offsets of each element from the FormattedList.
Android reference for android.icu.text.ListFormatter.formatToValue.
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.