Tests whether the error state of this component or any of its member
components contains the supplied member of the ErrorState
enumeration.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool TestState( ErrorState state )
Public Function TestState ( _ state As ErrorState _ ) As Boolean
public: bool TestState( ErrorState state )
Parameters
- state (ErrorState)
- The error state to look for in the current instance's state.
Return Value
True if the current instance's error state includes the supplied
error state, otherwise false.