다음을 통해 공유


IVsSplitRoot.GetWindowHandle 메서드

창 핸들을 가져옵니다.

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

구문

‘선언
Function GetWindowHandle ( _
    <OutAttribute> ByRef phwnd As IntPtr _
) As Integer
int GetWindowHandle(
    out IntPtr phwnd
)
int GetWindowHandle(
    [OutAttribute] IntPtr% phwnd
)
abstract GetWindowHandle : 
        phwnd:IntPtr byref -> int
function GetWindowHandle(
    phwnd : IntPtr
) : int

매개 변수

  • phwnd
    형식: IntPtr%

    [out] 창 핸들입니다.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsSplitRoot::GetWindowHandle(
   [out] HWND *phwnd
);

.NET Framework 보안

참고 항목

참조

IVsSplitRoot 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스