語言

IAttributedCharacterIterator.GetAttribute 方法

定義

回傳目前角色的名稱 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於