PropertyPath.Get(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 PropertyPath 的指定索引处的 PathSegment。
[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
参数
- index
- Int32
PropertyPath 中的位置
返回
- 特性
注解
返回 PropertyPath 的指定索引处的 PathSegment。 对表示“foo.bar[1]”的 PropertyPath 调用 get(1)将返回表示“bar[1]”的 PathSegment。 使用和不使用属性索引PathSegment.NON_REPEATED_CARDINALITY的 PathSegment 将检索到相同。
Android 参考。android.app.appsearch.PropertyPath.get
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。