IAttributedCharacterIterator.GetAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳目前角色的名稱 attribute 值。
[Android.Runtime.Register("getAttribute", "(Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/lang/Object;", "GetGetAttribute_Ljava_text_AttributedCharacterIterator_Attribute_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetAttribute(Java.Text.AttributedCharacterIteratorAttribute? attribute);
[<Android.Runtime.Register("getAttribute", "(Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/lang/Object;", "GetGetAttribute_Ljava_text_AttributedCharacterIterator_Attribute_Handler:Java.Text.IAttributedCharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttribute : Java.Text.AttributedCharacterIteratorAttribute -> Java.Lang.Object
參數
- attribute
- AttributedCharacterIteratorAttribute
所期望的屬性
傳回
命名 attribute 或 null
- 屬性
備註
Java 文件 java.text.AttributedCharacterIterator.getAttribute(java.text.Attribute)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。