Mouse.DoubleClick 方法 (UITestControl, MouseButtons, ModifierKeys, Point)
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
语法
声明
Public Shared Sub DoubleClick ( _
control As UITestControl, _
button As MouseButtons, _
modifierKeys As ModifierKeys, _
relativeCoordinates As Point _
)
public static void DoubleClick(
UITestControl control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinates
)
public:
static void DoubleClick(
UITestControl^ control,
MouseButtons button,
ModifierKeys modifierKeys,
Point relativeCoordinates
)
static member DoubleClick :
control:UITestControl *
button:MouseButtons *
modifierKeys:ModifierKeys *
relativeCoordinates:Point -> unit
public static function DoubleClick(
control : UITestControl,
button : MouseButtons,
modifierKeys : ModifierKeys,
relativeCoordinates : Point
)
参数
- modifierKeys
类型:Microsoft.VisualStudio.TestTools.UITest.Input.ModifierKeys
- relativeCoordinates
类型:Microsoft.VisualStudio.TestTools.UITest.Input.Point
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。