ArcGIS Pro 2.7 API Reference Guide
Contains Method (State)

ArcGIS.Desktop.Framework Namespace > State Class : Contains Method
The state string identifier.
Returns whether the specified state is turned on in the state set.
Syntax
public bool Contains( 
   string stateID
)
Public Function Contains( _
   ByVal stateID As String _
) As Boolean

Parameters

stateID
The state string identifier.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

State Class
State Members