AlphabeticIndex.AddRecord Method

Definition

Overloads

AddRecord(ICharSequence, Object)

Add a record (name and data) to the index.

AddRecord(String, Object)

Add a record (name and data) to the index.

AddRecord(ICharSequence, Object)

Add a record (name and data) to the index.

[Android.Runtime.Register("addRecord", "(Ljava/lang/CharSequence;Ljava/lang/Object;)Landroid/icu/text/AlphabeticIndex;", "", ApiSince=24)]
public Android.Icu.Text.AlphabeticIndex? AddRecord (Java.Lang.ICharSequence? name, Java.Lang.Object? data);
[<Android.Runtime.Register("addRecord", "(Ljava/lang/CharSequence;Ljava/lang/Object;)Landroid/icu/text/AlphabeticIndex;", "", ApiSince=24)>]
member this.AddRecord : Java.Lang.ICharSequence * Java.Lang.Object -> Android.Icu.Text.AlphabeticIndex

Parameters

name
ICharSequence

Name, such as a name

data
Object

Data, such as an address or link

Returns

this, for chaining

Attributes

Remarks

Add a record (name and data) to the index. The name will be used to sort the items into buckets, and to sort within the bucket. Two records may have the same name. When they do, the sort order is according to the order added: the first added comes first.

Java documentation for android.icu.text.AlphabeticIndex.addRecord(java.lang.CharSequence, V).

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

AddRecord(String, Object)

Add a record (name and data) to the index.

public Android.Icu.Text.AlphabeticIndex? AddRecord (string? name, Java.Lang.Object? data);
member this.AddRecord : string * Java.Lang.Object -> Android.Icu.Text.AlphabeticIndex

Parameters

name
String

Name, such as a name

data
Object

Data, such as an address or link

Returns

this, for chaining

Remarks

Add a record (name and data) to the index. The name will be used to sort the items into buckets, and to sort within the bucket. Two records may have the same name. When they do, the sort order is according to the order added: the first added comes first.

Java documentation for android.icu.text.AlphabeticIndex.addRecord(java.lang.CharSequence, V).

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