共用方式為


MouseAction 建構函式 (MouseButtons, MouseActionType, Point)

使用提供的按鈕指定、動作類型和作業位置,初始化 MouseAction 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Sub New ( _
    button As MouseButtons, _
    actionType As MouseActionType, _
    location As Point _
)
public MouseAction(
    MouseButtons button,
    MouseActionType actionType,
    Point location
)
public:
MouseAction(
    MouseButtons button, 
    MouseActionType actionType, 
    Point location
)
new : 
        button:MouseButtons * 
        actionType:MouseActionType * 
        location:Point -> MouseAction
public function MouseAction(
    button : MouseButtons, 
    actionType : MouseActionType, 
    location : Point
)

參數

.NET Framework 安全性

請參閱

參考

MouseAction 類別

MouseAction 多載

Microsoft.VisualStudio.TestTools.UITest.Common 命名空間

MouseButtons

MouseActionType

Point