IAttributedCharacterIterator.GetRunStart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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 包含當前字元的索引。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。