Langue

GenericDocument.GetPropertyBoolean(String) Méthode

Définition

Récupère une boolean propriété par chemin d’accès.

[Android.Runtime.Register("getPropertyBoolean", "(Ljava/lang/String;)Z", "GetGetPropertyBoolean_Ljava_lang_String_Handler", ApiSince=31)]
public virtual bool GetPropertyBoolean(string path);
[<Android.Runtime.Register("getPropertyBoolean", "(Ljava/lang/String;)Z", "GetGetPropertyBoolean_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetPropertyBoolean : string -> bool
override this.GetPropertyBoolean : string -> bool

Paramètres

path
String

Chemin d’accès à rechercher.

Retours

boolean Premier associé au chemin d’accès donné ou à la valeur false par défaut s’il n’y a pas de telle valeur ou si la valeur est d’un type différent.

Attributs

Remarques

Récupère une boolean propriété par chemin d’accès.

Consultez #getProperty une description détaillée de la syntaxe du chemin d’accès.

Java documentation pour android.app.appsearch.GenericDocument.getPropertyBoolean(java.lang.String).

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 à