UITechnologyElement.GetScrolledPercentage 메서드

스크롤되는 양을 스크롤 막대의 크기에 대한 백분율로 반환합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITest.Extension
어셈블리:  Microsoft.VisualStudio.TestTools.UITest.Extension(Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

구문

‘선언
Public MustOverride Function GetScrolledPercentage ( _
    scrollDirection As ScrollDirection, _
    scrollElement As IUITechnologyElement _
) As Integer
public abstract int GetScrolledPercentage(
    ScrollDirection scrollDirection,
    IUITechnologyElement scrollElement
)
public:
virtual int GetScrolledPercentage(
    ScrollDirection scrollDirection, 
    IUITechnologyElement^ scrollElement
) abstract
abstract GetScrolledPercentage : 
        scrollDirection:ScrollDirection * 
        scrollElement:IUITechnologyElement -> int 
public abstract function GetScrolledPercentage(
    scrollDirection : ScrollDirection, 
    scrollElement : IUITechnologyElement
) : int

매개 변수

반환 값

형식: System.Int32
제공된 scrollElement의 길이에 대한 백분율입니다.

구현

IUITechnologyElement.GetScrolledPercentage(ScrollDirection, IUITechnologyElement)

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

UITechnologyElement 클래스

Microsoft.VisualStudio.TestTools.UITest.Extension 네임스페이스

ScrollDirection