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

In This Topic
    Contains Method (State)
    In This Topic
    Returns whether the specified state is turned on in the state set.
    Syntax
    Public Function Contains( _
       ByVal stateID As String _
    ) As Boolean
    public bool Contains( 
       string stateID
    )

    Parameters

    stateID
    The state string identifier.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also