MouseAction Oluşturucu (MouseButtons, MouseActionType)
Yeni bir örneğini başlatır MouseAction sınıfı kullanılarak sağlanan düğmeyi Unvan ve tür eylem.
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 _
)
public MouseAction(
MouseButtons button,
MouseActionType actionType
)
public:
MouseAction(
MouseButtons button,
MouseActionType actionType
)
new :
button:MouseButtons *
actionType:MouseActionType -> MouseAction
public function MouseAction(
button : MouseButtons,
actionType : MouseActionType
)
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.
.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.