Metoda UITechnologyElementProxy.GetScrolledPercentage —
Pobiera w postaci wartości procentowej przewinięto.
Przestrzeń nazw: Microsoft.VisualStudio.TestTools.UITesting
Zestaw: Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)
Składnia
'Deklaracja
Public Overrides Function GetScrolledPercentage ( _
scrollDirection As ScrollDirection, _
scrollElement As IUITechnologyElement _
) As Integer
public override int GetScrolledPercentage(
ScrollDirection scrollDirection,
IUITechnologyElement scrollElement
)
public:
virtual int GetScrolledPercentage(
ScrollDirection scrollDirection,
IUITechnologyElement^ scrollElement
) override
abstract GetScrolledPercentage :
scrollDirection:ScrollDirection *
scrollElement:IUITechnologyElement -> int
override GetScrolledPercentage :
scrollDirection:ScrollDirection *
scrollElement:IUITechnologyElement -> int
public override function GetScrolledPercentage(
scrollDirection : ScrollDirection,
scrollElement : IUITechnologyElement
) : int
Parametry
- scrollDirection
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.ScrollDirection
scrollElement
Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementElement, który jest pasek przewijania pionowego lub poziomego.
Wartość zwracana
Typ: Int32
Kwota w polu procent.
Implementuje
IUITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
UITechnologyElementProxy Klasa