Share via


UnicodeSet.Span Method

Definition

Overloads

Span(ICharSequence, UnicodeSet+SpanCondition)
Span(String, UnicodeSet+SpanCondition)
Span(ICharSequence, Int32, UnicodeSet+SpanCondition)
Span(String, Int32, UnicodeSet+SpanCondition)

Span(ICharSequence, UnicodeSet+SpanCondition)

[Android.Runtime.Register("span", "(Ljava/lang/CharSequence;Landroid/icu/text/UnicodeSet$SpanCondition;)I", "GetSpan_Ljava_lang_CharSequence_Landroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)]
public virtual int Span (Java.Lang.ICharSequence? s, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
[<Android.Runtime.Register("span", "(Ljava/lang/CharSequence;Landroid/icu/text/UnicodeSet$SpanCondition;)I", "GetSpan_Ljava_lang_CharSequence_Landroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)>]
abstract member Span : Java.Lang.ICharSequence * Android.Icu.Text.UnicodeSet.SpanCondition -> int
override this.Span : Java.Lang.ICharSequence * Android.Icu.Text.UnicodeSet.SpanCondition -> int

Parameters

spanCondition
UnicodeSet.SpanCondition

Returns

Attributes

Remarks

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

Span(String, UnicodeSet+SpanCondition)

public int Span (string? s, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
member this.Span : string * Android.Icu.Text.UnicodeSet.SpanCondition -> int

Parameters

s
String
spanCondition
UnicodeSet.SpanCondition

Returns

Remarks

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

Span(ICharSequence, Int32, UnicodeSet+SpanCondition)

[Android.Runtime.Register("span", "(Ljava/lang/CharSequence;ILandroid/icu/text/UnicodeSet$SpanCondition;)I", "GetSpan_Ljava_lang_CharSequence_ILandroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)]
public virtual int Span (Java.Lang.ICharSequence? s, int start, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
[<Android.Runtime.Register("span", "(Ljava/lang/CharSequence;ILandroid/icu/text/UnicodeSet$SpanCondition;)I", "GetSpan_Ljava_lang_CharSequence_ILandroid_icu_text_UnicodeSet_SpanCondition_Handler", ApiSince=24)>]
abstract member Span : Java.Lang.ICharSequence * int * Android.Icu.Text.UnicodeSet.SpanCondition -> int
override this.Span : Java.Lang.ICharSequence * int * Android.Icu.Text.UnicodeSet.SpanCondition -> int

Parameters

start
Int32
spanCondition
UnicodeSet.SpanCondition

Returns

Attributes

Remarks

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

Span(String, Int32, UnicodeSet+SpanCondition)

public int Span (string? s, int start, Android.Icu.Text.UnicodeSet.SpanCondition? spanCondition);
member this.Span : string * int * Android.Icu.Text.UnicodeSet.SpanCondition -> int

Parameters

s
String
start
Int32
spanCondition
UnicodeSet.SpanCondition

Returns

Remarks

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