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