MouseAction Oluşturucu (MouseButtons, MouseActionType, Point)
Yeni bir örneğini başlatır MouseAction sağlanan düğmeyi hedefidir, eylem ve operasyon konum türünü kullanarak sınıfı
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Common
Derleme: Microsoft.VisualStudio.TestTools.UITest.Common (Microsoft.VisualStudio.TestTools.UITest.Common.dll içinde)
Sözdizimi
'Bildirim
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
)
Parametreler
- button
Tür: System.Windows.Forms.MouseButtons
Üye MouseButtons hangi fare düğmesi basılı gösterir numaralandırma.
- actionType
Tür: Microsoft.VisualStudio.TestTools.UITest.Common.MouseActionType
Üye MouseActionType türünü gösteren numaralandırmafare operasyon.
- location
Tür: System.Drawing.Point
A Point nesne konumunu gösteriroperasyon.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.