Language

AlphabeticIndex.ImmutableIndex.GetBucket(Int32) Method

Definition

Returns the index-th bucket.

[Android.Runtime.Register("getBucket", "(I)Landroid/icu/text/AlphabeticIndex$Bucket;", "", ApiSince=24)]
public Android.Icu.Text.AlphabeticIndex.Bucket? GetBucket(int index);
[<Android.Runtime.Register("getBucket", "(I)Landroid/icu/text/AlphabeticIndex$Bucket;", "", ApiSince=24)>]
member this.GetBucket : int -> Android.Icu.Text.AlphabeticIndex.Bucket

Parameters

index
Int32

bucket number

Returns

the index-th bucket

Attributes

Remarks

Returns the index-th bucket. Returns null if the index is out of range.

Android reference for android.icu.text.AlphabeticIndex.ImmutableIndex.getBucket.

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