다음을 통해 공유


IVsSplitter.GetParentWindow 메서드

이 창의 부모 창에서 볼 수 있습니다.

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

구문

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

매개 변수

  • phwndParent
    형식: IntPtr%

    [out] 부모 창 핸들입니다.

반환 값

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

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsSplitter::GetParentWindow(
   [out] HWND *phwndParent
);

부모는 같은 부모 창 틀을 모두 있는 리프 노드 틀으로 만든 모든 자식 창입니다.

.NET Framework 보안

참고 항목

참조

IVsSplitter 인터페이스

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