다음을 통해 공유


UITechnologyManagerProxy.ConvertToThisTechnology 메서드

이 기술 관리자의 새 요소에 다른 기술의 특정된 요소를 변환합니다.

호스팅 및 호스팅 기술 사이 전환 하는 등의 작업에 사용 됩니다.

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

구문

‘선언
Public Overrides Function ConvertToThisTechnology ( _
    elementToConvert As IUITechnologyElement, _
    <OutAttribute> ByRef supportLevel As Integer _
) As IUITechnologyElement
public override IUITechnologyElement ConvertToThisTechnology(
    IUITechnologyElement elementToConvert,
    out int supportLevel
)
public:
virtual IUITechnologyElement^ ConvertToThisTechnology(
    IUITechnologyElement^ elementToConvert, 
    [OutAttribute] int% supportLevel
) override
abstract ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement  
override ConvertToThisTechnology : 
        elementToConvert:IUITechnologyElement * 
        supportLevel:int byref -> IUITechnologyElement
public override function ConvertToThisTechnology(
    elementToConvert : IUITechnologyElement, 
    supportLevel : int
) : IUITechnologyElement

매개 변수

  • supportLevel
    형식: Int32%

    이 기술 관리자에서 변환 된 요소에 대해 제공 되는 지원의 수준입니다.

반환 값

형식: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
새 변환 된 요소 기술 또는 경우에는 null이 변환이 불가능 합니다.

구현

IUITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)

.NET Framework 보안

참고 항목

참조

UITechnologyManagerProxy 클래스

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

GetControlSupportLevel

ControlSupport