语言

PropertyPath.PathSegment.PropertyIndex 属性

定义

返回属性中的索引,或者 #NON_REPEATED_CARDINALITY 如果它不表示具有索引的 PathSegment。

public virtual int PropertyIndex { [Android.Runtime.Register("getPropertyIndex", "()I", "GetGetPropertyIndexHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getPropertyIndex", "()I", "GetGetPropertyIndexHandler", ApiSince=34)>]
member this.PropertyIndex : int

属性值

特性

注解

返回属性中的索引,或者 #NON_REPEATED_CARDINALITY 如果它不表示具有索引的 PathSegment。

Java文档android.app.appsearch.PropertyPath.PathSegment.getPropertyIndex()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于