Udostępnij za pośrednictwem


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

Wartość zwracana

Typ: Int32
Kwota w polu procent.

Implementuje

IUITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyElementProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting

InitializeProgrammaticScroll