PropertyPath.Get(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the PathSegment at a specified index of the 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
Parameters
- index
- Int32
the position into the PropertyPath
Returns
- Attributes
Remarks
Returns the PathSegment at a specified index of the PropertyPath. Calling get(1) on a PropertyPath representing "foo.bar[1]" will return a PathSegment representing "bar[1]". PathSegment s both with and without a property index of PathSegment.NON_REPEATED_CARDINALITY are retrieved the same.
Android reference for android.app.appsearch.PropertyPath.get.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.