다음을 통해 공유


UITechnologyManager.GetElementFromNativeElement 메서드

제공된 네이티브 요소에 대응되는 이 기술의 요소를 반환합니다.

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

구문

‘선언
Public MustOverride Function GetElementFromNativeElement ( _
    nativeElement As Object _
) As IUITechnologyElement
public abstract IUITechnologyElement GetElementFromNativeElement(
    Object nativeElement
)
public:
virtual IUITechnologyElement^ GetElementFromNativeElement(
    Object^ nativeElement
) abstract
abstract GetElementFromNativeElement : 
        nativeElement:Object -> IUITechnologyElement
public abstract function GetElementFromNativeElement(
    nativeElement : Object
) : IUITechnologyElement

매개 변수

  • nativeElement
    형식: Object

    IAccessible과 같은 네이티브 요소를 나타내는 Object입니다.

반환 값

형식: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
이 관리자가 나타내는 기술의 요소입니다.

구현

IUITechnologyManager.GetElementFromNativeElement(Object)

.NET Framework 보안

참고 항목

참조

UITechnologyManager 클래스

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