ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework Namespace / State Class / Contains Method
The state string identifier.
Version

Contains Method (State)
Returns whether the specified state is turned on in the state set.
Syntax
public bool Contains( 
   string stateID
)

Parameters

stateID
The state string identifier.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also