CollationElementIterator.GetMaxExpansion(Int32) 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.
Returns the maximum length of any expansion sequence that ends with the specified collation element.
[Android.Runtime.Register("getMaxExpansion", "(I)I", "", ApiSince=24)]
public int GetMaxExpansion (int ce);
[<Android.Runtime.Register("getMaxExpansion", "(I)I", "", ApiSince=24)>]
member this.GetMaxExpansion : int -> int
Parameters
- ce
- Int32
a collation element returned by previous() or next().
Returns
the maximum length of any expansion sequence ending with the specified collation element.
- Attributes
Remarks
Returns the maximum length of any expansion sequence that ends with the specified collation element. If there is no expansion with this collation element as the last element, returns 1.
Java documentation for android.icu.text.CollationElementIterator.getMaxExpansion(int)
.
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.