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