IAttributedCharacterIterator.GetRunStart 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetRunStart(AttributedCharacterIteratorAttribute) |
返回运行的第一个字符相对于包含当前字符的所有属性的索引。 |
| GetRunStart(ICollection<AttributedCharacterIteratorAttribute>) |
返回运行的第一个字符相对于包含当前字符的给定 |
GetRunStart(AttributedCharacterIteratorAttribute)
返回运行的第一个字符相对于包含当前字符的所有属性的索引。
[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
参数
- attribute
- AttributedCharacterIteratorAttribute
运行所基于的属性。
返回
运行的第一个字符的索引
- 属性
注解
Java文档java.text.AttributedCharacterIterator.getRunStart()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetRunStart(ICollection<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")]
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
参数
- attributes
- ICollection<AttributedCharacterIteratorAttribute>
一组所需的属性。
返回
运行的第一个字符的索引
- 属性
注解
返回运行的第一个字符相对于包含当前字符的给定 attributes 字符的索引。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。