UnicodeSetSpanner.CountMethod.MinElements Property
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.
Use the smallest number of elements in the spanned range for counting and modification, based on the UnicodeSet.SpanCondition.
[Android.Runtime.Register("MIN_ELEMENTS", ApiSince=24)]
public static Android.Icu.Text.UnicodeSetSpanner.CountMethod? MinElements { get; }
[<Android.Runtime.Register("MIN_ELEMENTS", ApiSince=24)>]
static member MinElements : Android.Icu.Text.UnicodeSetSpanner.CountMethod
Property Value
- Attributes
Remarks
Use the smallest number of elements in the spanned range for counting and modification, based on the UnicodeSet.SpanCondition. If the set has no strings, this will be the same as the number of spanned code points.
For example, in the string "abab" with SpanCondition.SIMPLE: spanning with [ab] will count four MIN_ELEMENTS; spanning with [{ab}] will count two MIN_ELEMENTS; spanning with [ab{ab}] will also count two MIN_ELEMENTS.
Android reference for android.icu.text.UnicodeSetSpanner.CountMethod.MIN_ELEMENTS.
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.