Udostępnij za pośrednictwem


AppSearchSchema.PropertyConfig.Cardinality Property

Definition

Returns the cardinality of the property (whether it is optional, required or repeated).

public virtual int Cardinality { [Android.Runtime.Register("getCardinality", "()I", "GetGetCardinalityHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getCardinality", "()I", "GetGetCardinalityHandler", ApiSince=31)>]
member this.Cardinality : int

Property Value

Attributes

Remarks

Java documentation for android.app.appsearch.AppSearchSchema.PropertyConfig.getCardinality().

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.

Applies to