Język

InstanceCountViolation.NumberOfInstances Property

Definition

Gets the number of class instances recorded for this violation.

public virtual long NumberOfInstances { [Android.Runtime.Register("getNumberOfInstances", "()J", "GetGetNumberOfInstancesHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getNumberOfInstances", "()J", "GetGetNumberOfInstancesHandler", ApiSince=28)>]
member this.NumberOfInstances : int64

Property Value

The recorded instance count, as a 64-bit integer.

Attributes

Remarks

This property returns the count stored in the violation. It does not count the current instances again or return the configured limit.

See the Android implementation of getNumberOfInstances().

Applies to