Método IUITechnologyElement.GetScrolledPercentage

Retorna a quantidade que é rolada como uma porcentagem do tamanho do scrollbar.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (em Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintaxe

'Declaração
Function GetScrolledPercentage ( _
    scrollDirection As ScrollDirection, _
    scrollElement As IUITechnologyElement _
) As Integer
int GetScrolledPercentage(
    ScrollDirection scrollDirection,
    IUITechnologyElement scrollElement
)
int GetScrolledPercentage(
    ScrollDirection scrollDirection, 
    IUITechnologyElement^ scrollElement
)
abstract GetScrolledPercentage : 
        scrollDirection:ScrollDirection * 
        scrollElement:IUITechnologyElement -> int 
function GetScrolledPercentage(
    scrollDirection : ScrollDirection, 
    scrollElement : IUITechnologyElement
) : int

Parâmetros

Valor de retorno

Tipo: System.Int32
O percentual do comprimento da fornecida scrollElement.

Segurança do .NET Framework

Consulte também

Referência

IUITechnologyElement Interface

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

ScrollDirection