다음을 통해 공유


UITestControlFactory.FromWindowHandle 메서드

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

구문

‘선언
Public Shared Function FromWindowHandle ( _
    windowHandle As IntPtr _
) As UITestControl
public static UITestControl FromWindowHandle(
    IntPtr windowHandle
)
public:
static UITestControl^ FromWindowHandle(
    IntPtr windowHandle
)
static member FromWindowHandle : 
        windowHandle:IntPtr -> UITestControl
public static function FromWindowHandle(
    windowHandle : IntPtr
) : UITestControl

매개 변수

  • windowHandle
    형식: IntPtr

반환 값

형식: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

.NET Framework 보안

참고 항목

참조

UITestControlFactory 클래스

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