Lenguaje

PropertyPath.Get(Int32) Método

Definición

Devuelve pathSegment en un índice especificado 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

Parámetros

index
Int32

la posición en PropertyPath

Devoluciones

Atributos

Comentarios

Devuelve pathSegment en un índice especificado de PropertyPath. Al llamar a get(1) en un PropertyPath que representa "foo.bar[1]" se devolverá un PathSegment que representa "bar[1]". PathSegment s con y sin un índice de propiedad de PathSegment.NON_REPEATED_CARDINALITY se recuperan iguales.

Referencia de Android para android.app.appsearch.PropertyPath.get.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a