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