PropertyPath.Size 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 number of PathSegment
s in the PropertyPath.
[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
Returns
- Attributes
Remarks
Returns the number of PathSegment
s in the PropertyPath.
Paths representing "foo.bar" and "foo[1].bar[1]" will have the same size, as a property and an index into that property are stored in one PathSegment
.
Java documentation for android.app.appsearch.PropertyPath.size()
.
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.