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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。