다음을 통해 공유


UITechnologyElementProxy.GetNativeControlType 메서드

이 요소의 네이티브 컨트롤 형식을 가져옵니다. 이 범용 ControlType만이 컨트롤을 구분 하는 충분 한 GetControlType()를 통해 가져온 형식과 함께에서 사용할 수 있습니다.

예를 들어, 네이티브 기술 요소 HTML 이면 태그 이름을 수 있습니다.

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

구문

‘선언
Public Overrides Function GetNativeControlType ( _
    nativeControlTypeKind As NativeControlTypeKind _
) As Object
public override Object GetNativeControlType(
    NativeControlTypeKind nativeControlTypeKind
)
public:
virtual Object^ GetNativeControlType(
    NativeControlTypeKind nativeControlTypeKind
) override
abstract GetNativeControlType : 
        nativeControlTypeKind:NativeControlTypeKind -> Object  
override GetNativeControlType : 
        nativeControlTypeKind:NativeControlTypeKind -> Object
public override function GetNativeControlType(
    nativeControlTypeKind : NativeControlTypeKind
) : Object

매개 변수

반환 값

형식: Object
지원 되는 경우 기본 null 의미 하거나 컨트롤의 형식입니다.

구현

IUITechnologyElement.GetNativeControlType(NativeControlTypeKind)

.NET Framework 보안

참고 항목

참조

UITechnologyElementProxy 클래스

Microsoft.VisualStudio.TestTools.UITesting 네임스페이스