Udostępnij za pośrednictwem


IVsRunningDocTableEvents.OnAfterDocumentWindowHide Method

Definition

Called after a document window is placed in the Hide state.

public:
 int OnAfterDocumentWindowHide(System::UInt32 docCookie, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame);
public:
 int OnAfterDocumentWindowHide(unsigned int docCookie, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame);
int OnAfterDocumentWindowHide(unsigned int docCookie, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame);
public int OnAfterDocumentWindowHide (uint docCookie, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame);
abstract member OnAfterDocumentWindowHide : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
Public Function OnAfterDocumentWindowHide (docCookie As UInteger, pFrame As IVsWindowFrame) As Integer

Parameters

docCookie
UInt32

[in] Abstract value representing the document whose window has been hidden.

pFrame
IVsWindowFrame

[in] The IVsWindowFrame interface representing the frame containing the document's window.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method is called when the document's window is hidden.

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocTableEvents::OnAfterDocumentWindowHide(  
   [in] VSCOOKIE docCookie,  
   [in] IVsWindowFrame *pFrame  
);  

Applies to