Lingua

ListFormatter.Format Method

Definition

Overloads

Name Description
Format(Object[])

Format a list of objects.

Format(ICollection<Object>)

Format a collection of objects.

Format(Object[])

Format a list of objects.

[Android.Runtime.Register("format", "([Ljava/lang/Object;)Ljava/lang/String;", "", ApiSince=26)]
public string? Format(params Java.Lang.Object[]? items);
[<Android.Runtime.Register("format", "([Ljava/lang/Object;)Ljava/lang/String;", "", ApiSince=26)>]
member this.Format : Java.Lang.Object[] -> string

Parameters

items
Object[]

items to format. The toString() method is called on each.

Returns

items formatted into a string

Attributes

Remarks

Format a list of objects.

Android reference for android.icu.text.ListFormatter.format.

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

Format(ICollection<Object>)

Format a collection of objects.

[Android.Runtime.Register("format", "(Ljava/util/Collection;)Ljava/lang/String;", "", ApiSince=26)]
public string? Format(System.Collections.Generic.ICollection<object>? items);
[<Android.Runtime.Register("format", "(Ljava/util/Collection;)Ljava/lang/String;", "", ApiSince=26)>]
member this.Format : System.Collections.Generic.ICollection<obj> -> string

Parameters

items
ICollection<Object>

items to format. The toString() method is called on each.

Returns

items formatted into a string

Attributes

Remarks

Format a collection of objects. The toString() method is called on each.

Java documentation for android.icu.text.ListFormatter.format(java.util.Collection<?>).

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