Partilhar via


Método UITechnologyElementProxy.GetScrolledPercentage

Obtém a quantidade rolada em porcentagem.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: System.Int32
A quantidade de porcentagem.

Implementações

IUITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyElementProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

InitializeProgrammaticScroll