Tests whether the error state of this component or any of its member
components contains the supplied member of the ErrorState
enumeration.

C# | Visual Basic | Visual C++ |
public bool TestState( ErrorState state )
Public Function TestState ( _ state As ErrorState _ ) As Boolean
public: bool TestState( ErrorState state )

- state (ErrorState)
- The error state to look for in the current instance's state.

True if the current instance's error state includes the supplied
error state, otherwise false.