Check this UIAMenuItem.If item is checked dont do anything. Some Menu items implement Check Uncheck actions, If your menu item doesnt implement this InvalidOperationException is thrown.

Namespace:  QAliber.Engine.Controls.UIA
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Check()
Visual Basic (Declaration)
Public Sub Check
Visual C++
public:
virtual void Check() sealed

See Also