InstanceCountViolation.NumberOfInstances Property
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.
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().