Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the MouseAction class by using the provided button designation, type of action, and location of the operation.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
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
)
Parameters
button
Type: MouseButtonsA member of the MouseButtons enumeration that indicates which mouse button is pressed.
actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common.MouseActionTypeA member of the MouseActionType enumeration that indicates the kind of mouse operation.
location
Type: PointA Point object that indicates the location of the operation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.