Mouse.MoveScrollWheel Yöntem (UITestControl, Int32)
Belirtilen denetim belirtilen sayıda fare hareket ettiğinde kayar.
Ad alanı: Microsoft.VisualStudio.TestTools.UITesting
Derleme: Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll içinde)
Sözdizimi
'Bildirim
Public Shared Sub MoveScrollWheel ( _
control As UITestControl, _
wheelMoveCount As Integer _
)
public static void MoveScrollWheel(
UITestControl control,
int wheelMoveCount
)
public:
static void MoveScrollWheel(
UITestControl^ control,
int wheelMoveCount
)
static member MoveScrollWheel :
control:UITestControl *
wheelMoveCount:int -> unit
public static function MoveScrollWheel(
control : UITestControl,
wheelMoveCount : int
)
Parametreler
- control
Tür: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
UITestControl gidin.
- wheelMoveCount
Tür: System.Int32
Fare tekerleğini sayısını gösterir.
Notlar
Tekerlek yönünü işareti tarafından belirlenir wheelMoveCount.Pozitif değerler ileriye doğru Fare kaydırma gösterir; negatif değerler, geriye doğru Fare kaydırma gösteriyor.
.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üvenilen kod kitaplıklarını kullanma.