StateManager.IsStateActive(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Check if a state is currently active.
public:
bool IsStateActive(System::String ^ stateName);
public bool IsStateActive (string stateName);
member this.IsStateActive : string -> bool
Public Function IsStateActive (stateName As String) As Boolean
Parameters
- stateName
- String
The name of the state to check
Returns
True if the state is active, false if the state is not active