ArcGIS Pro 3.0 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 bool Contains( 
       string stateID
    )
    Public Function Contains( _
       ByVal stateID As String _
    ) As Boolean

    Parameters

    stateID
    The state string identifier.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also