Contingency QML Type
An object that defines a contingency. More...
|Import Statement:||import Esri.ArcGISRuntime|
Note: You cannot declare or create a component of this type in QML code.
contingencyId : int
The contingency's unique id (read-only).
retired : bool
A boolean indicating if the contingency is retired or not (read-only).
When a contingency is retired, it means that its presence in existing data is acceptable, but that it should not be presented as an option when editing. It is typically used to express that a value is no longer valid, such as using asbestos as a building material.
subtype : FeatureSubtype
The subtype to which this contingency is applied (read-only).
values : jsobject
The contingency's values (read-only).
Returns a dictionary of field names to the value defined for that field in this contingency.
The returned object is a mapping of strings (keys) to ContingentValue (values).