共用方式為


UITestActionExecutor.Click Method

Definition

public:
 abstract void Click(Microsoft::VisualStudio::TestTools::UITest::Extension::UITechnologyElement ^ control, System::Windows::Forms::MouseButtons button, System::Windows::Input::ModifierKeys modifierKeys, System::Drawing::Point relativeCoordinate);
public abstract void Click (Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement control, System.Windows.Forms.MouseButtons button, System.Windows.Input.ModifierKeys modifierKeys, System.Drawing.Point relativeCoordinate);
abstract member Click : Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement * System.Windows.Forms.MouseButtons * System.Windows.Input.ModifierKeys * System.Drawing.Point -> unit
Public MustOverride Sub Click (control As UITechnologyElement, button As MouseButtons, modifierKeys As ModifierKeys, relativeCoordinate As Point)

Parameters

button
MouseButtons
modifierKeys
ModifierKeys
relativeCoordinate
Point

Applies to