IVsRunningDocTableEvents.OnAfterDocumentWindowHide Method
Called after a document window is placed in the Hide state.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
‘선언
Function OnAfterDocumentWindowHide ( _
docCookie As UInteger, _
pFrame As IVsWindowFrame _
) As Integer
‘사용 방법
Dim instance As IVsRunningDocTableEvents
Dim docCookie As UInteger
Dim pFrame As IVsWindowFrame
Dim returnValue As Integer
returnValue = instance.OnAfterDocumentWindowHide(docCookie, _
pFrame)
int OnAfterDocumentWindowHide(
uint docCookie,
IVsWindowFrame pFrame
)
int OnAfterDocumentWindowHide(
[InAttribute] unsigned int docCookie,
[InAttribute] IVsWindowFrame^ pFrame
)
function OnAfterDocumentWindowHide(
docCookie : uint,
pFrame : IVsWindowFrame
) : int
docCookie
Type: System.UInt32[in] Abstract value representing the document whose window has been hidden.
pFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame[in] The IVsWindowFrame interface representing the frame containing the document's window.
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method is called when the document's window is hidden.
From vsshell.idl:
HRESULT IVsRunningDocTableEvents::OnAfterDocumentWindowHide(
[in] VSCOOKIE docCookie,
[in] IVsWindowFrame *pFrame
);
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
IVsRunningDocTableEvents Interface