Langage

IAttributeSet.GetAttributeBooleanValue Méthode

Définition

Surcharges

Nom Description
GetAttributeBooleanValue(Int32, Boolean)

Retourne la valeur booléenne de l’attribut à « index ».

GetAttributeBooleanValue(String, String, Boolean)

Retourne la valeur booléenne de 'attribute'.

GetAttributeBooleanValue(Int32, Boolean)

Retourne la valeur booléenne de l’attribut à « index ».

[Android.Runtime.Register("getAttributeBooleanValue", "(IZ)Z", "GetGetAttributeBooleanValue_IZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetAttributeBooleanValue(int index, bool defaultValue);
[<Android.Runtime.Register("getAttributeBooleanValue", "(IZ)Z", "GetGetAttributeBooleanValue_IZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeBooleanValue : int * bool -> bool

Paramètres

index
Int32

Index de l’attribut souhaité, 0...count-1.

defaultValue
Boolean

Que retourner si l’attribut n’est pas trouvé.

Retours

Valeur résultante.

Attributs

Remarques

Retourne la valeur booléenne de l’attribut à « index ».

Java documentation pour android.util.AttributeSet.getAttributeBooleanValue(int, boolean).

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.

S’applique à

GetAttributeBooleanValue(String, String, Boolean)

Retourne la valeur booléenne de 'attribute'.

[Android.Runtime.Register("getAttributeBooleanValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z", "GetGetAttributeBooleanValue_Ljava_lang_String_Ljava_lang_String_ZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetAttributeBooleanValue(string? namespace, string? attribute, bool defaultValue);
[<Android.Runtime.Register("getAttributeBooleanValue", "(Ljava/lang/String;Ljava/lang/String;Z)Z", "GetGetAttributeBooleanValue_Ljava_lang_String_Ljava_lang_String_ZHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetAttributeBooleanValue : string * string * bool -> bool

Paramètres

namespace
String

Espace de noms d’attribut à récupérer.

attribute
String

Attribut à récupérer.

defaultValue
Boolean

Que retourner si l’attribut n’est pas trouvé.

Retours

Valeur résultante.

Attributs

Remarques

Retourne la valeur booléenne de 'attribute'.

Java documentation pour android.util.AttributeSet.getAttributeBooleanValue(java.lang.String, java.lang.String, boolean).

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.

S’applique à