Langue

PropertyPath.Get(Int32) Méthode

Définition

Retourne le pathSegment à un index spécifié de PropertyPath.

[Android.Runtime.Register("get", "(I)Landroid/app/appsearch/PropertyPath$PathSegment;", "GetGet_IHandler", ApiSince=34)]
public virtual Android.App.AppSearch.PropertyPath.PathSegment Get(int index);
[<Android.Runtime.Register("get", "(I)Landroid/app/appsearch/PropertyPath$PathSegment;", "GetGet_IHandler", ApiSince=34)>]
abstract member Get : int -> Android.App.AppSearch.PropertyPath.PathSegment
override this.Get : int -> Android.App.AppSearch.PropertyPath.PathSegment

Paramètres

index
Int32

position dans PropertyPath

Retours

Attributs

Remarques

Retourne le pathSegment à un index spécifié de PropertyPath. L’appel de get(1) sur un PropertyPath représentant « foo.bar[1] » retourne un PathSegment représentant « bar[1] ». PathSegment s with and without a property index of PathSegment.NON_REPEATED_CARDINALITY are retrieved the same.

Référence Android pour android.app.appsearch.PropertyPath.get.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à