Show / Hide Table of Contents

Method GetContingentValues

GetContingentValues(ArcGISFeature, String)

Returns possible values for the specified field, in the context of defined contingencies.

Declaration
public ContingentValuesResult GetContingentValues(ArcGISFeature feature, string field)
Parameters
Type Name Description
ArcGISFeature feature

The feature.

System.String field

The name of the field for which to get possible values.

Returns
Type Description
ContingentValuesResult

A ContingentValuesResult.

Remarks

This method iterates over all the field groups that the input field participates in. For each, it looks at the input feature's field values for the other fields participating in that field group. Contingencies that are satisfied by the other fields are identified, and their values for the input field are aggregated. These are returned in a ContingentValuesResult, which contains a dictionary of field group names to a list of ContingentValue objects accessed via ContingentValuesByFieldGroup, specifying possible values for the input field that will satisfy a contingency in that field group. If the feature participates in multiple field groups and there are values that will satisfy all groups, they will be returned by ContingentValuesAllGroups.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.13 - 200.7
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 200.7
In This Article
Back to top Copyright © 2022 Esri.