PropertyPath.Get(Int32) Metodo

Definizione

Restituisce l'oggetto PathSegment in corrispondenza di un indice specificato di 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

Parametri

index
Int32

posizione in PropertyPath

Valori restituiti

Attributi

Commenti

Restituisce l'oggetto PathSegment in corrispondenza di un indice specificato di PropertyPath. La chiamata a get(1) in un PropertyPath che rappresenta "foo.bar[1]" restituirà un Oggetto PathSegment che rappresenta "bar[1]". PathSegment s con e senza un indice di proprietà di PathSegment.NON_REPEATED_CARDINALITY vengono recuperati lo stesso.

Informazioni di riferimento su Android per android.app.appsearch.PropertyPath.get.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a