语言

PropertyPath.Size 方法

定义

返回 PropertyPath 中的 s 数 PathSegment。

[Android.Runtime.Register("size", "()I", "GetSizeHandler", ApiSince=34)]
public virtual int Size();
[<Android.Runtime.Register("size", "()I", "GetSizeHandler", ApiSince=34)>]
abstract member Size : unit -> int
override this.Size : unit -> int

返回

特性

注解

返回 PropertyPath 中的 s 数 PathSegment。

表示“foo.bar”和“foo[1].bar[1]”的路径的大小将与属性和索引存储在一个 PathSegment属性中相同。

Java文档android.app.appsearch.PropertyPath.size()。

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

适用于