IAttributedCharacterIterator.GetAttribute Method

Definition

Returns the value of the named attribute for the current character.

[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

Parameters

attribute
AttributedCharacterIteratorAttribute

the desired attribute

Returns

the value of the named attribute or null

Attributes

Remarks

Java documentation for java.text.AttributedCharacterIterator.getAttribute(java.text.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