次の方法で共有


IAttributedCharacterIterator.GetRunStart Method

Definition

Overloads

GetRunStart(AttributedCharacterIteratorAttribute)

Returns the index of the first character of the run with respect to all attributes containing the current character.

GetRunStart(ICollection<AttributedCharacterIteratorAttribute>)

Returns the index of the first character of the run with respect to the given attributes containing the current character.

GetRunStart(AttributedCharacterIteratorAttribute)

Returns the index of the first character of the run with respect to all attributes containing the current character.

[Android.Runtime.Register("getRunStart", "(Ljava/text/AttributedCharacterIterator$Attribute;)I", "GetGetRunStart_Ljava_text_AttributedCharacterIterator_Attribute_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetRunStart (Java.Text.AttributedCharacterIteratorAttribute? attribute);
[<Android.Runtime.Register("getRunStart", "(Ljava/text/AttributedCharacterIterator$Attribute;)I", "GetGetRunStart_Ljava_text_AttributedCharacterIterator_Attribute_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetRunStart : Java.Text.AttributedCharacterIteratorAttribute -> int

Parameters

attribute
AttributedCharacterIteratorAttribute

the attribute which the run is based on.

Returns

the index of the first character of the run

Attributes

Remarks

Java documentation for java.text.AttributedCharacterIterator.getRunStart().

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

GetRunStart(ICollection<AttributedCharacterIteratorAttribute>)

Returns the index of the first character of the run with respect to the given attributes containing the current character.

[Android.Runtime.Register("getRunStart", "(Ljava/util/Set;)I", "GetGetRunStart_Ljava_util_Set_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetRunStart (System.Collections.Generic.ICollection<Java.Text.AttributedCharacterIteratorAttribute>? attributes);
[<Android.Runtime.Register("getRunStart", "(Ljava/util/Set;)I", "GetGetRunStart_Ljava_util_Set_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetRunStart : System.Collections.Generic.ICollection<Java.Text.AttributedCharacterIteratorAttribute> -> int

Parameters

attributes
ICollection<AttributedCharacterIteratorAttribute>

a set of the desired attributes.

Returns

the index of the first character of the run

Attributes

Remarks

Returns the index of the first character of the run with respect to the given attributes containing the current character.

Java documentation for java.text.AttributedCharacterIterator.getRunStart(java.util.Set<? extends java.text.AttributedCharacterIterator.Attribute>).

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