IAttributedCharacterIterator.GetAttribute Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne la valeur du attribute nom du caractère actuel.
[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
Paramètres
- attribute
- AttributedCharacterIteratorAttribute
l’attribut souhaité
Retours
la valeur du nom attribute ou null
- Attributs
Remarques
Java documentation pour java.text.AttributedCharacterIterator.getAttribute(java.text.Attribute).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.