AlphabeticIndex.ImmutableIndex.GetBucketIndex 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
GetBucketIndex(ICharSequence) |
Finds the index bucket for the given name and returns the number of that bucket. |
GetBucketIndex(String) |
Finds the index bucket for the given name and returns the number of that bucket. |
GetBucketIndex(ICharSequence)
Finds the index bucket for the given name and returns the number of that bucket.
[Android.Runtime.Register("getBucketIndex", "(Ljava/lang/CharSequence;)I", "", ApiSince=24)]
public int GetBucketIndex (Java.Lang.ICharSequence? name);
[<Android.Runtime.Register("getBucketIndex", "(Ljava/lang/CharSequence;)I", "", ApiSince=24)>]
member this.GetBucketIndex : Java.Lang.ICharSequence -> int
Parameters
- name
- ICharSequence
the string to be sorted into an index bucket
Returns
the bucket number for the name
- Attributes
Remarks
Finds the index bucket for the given name and returns the number of that bucket. Use #getBucket(int)
to get the bucket's properties.
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
GetBucketIndex(String)
Finds the index bucket for the given name and returns the number of that bucket.
public int GetBucketIndex (string? name);
member this.GetBucketIndex : string -> int
Parameters
- name
- String
the string to be sorted into an index bucket
Returns
the bucket number for the name
Remarks
Finds the index bucket for the given name and returns the number of that bucket. Use #getBucket(int)
to get the bucket's properties.
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.