Partager via


IVsRunningDocTableEvents2.OnAfterDocumentWindowHide Method (UInt32, IVsWindowFrame)

Called after a document window is hidden.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function OnAfterDocumentWindowHide ( _
    docCookie As UInteger, _
    pFrame As IVsWindowFrame _
) As Integer
'Utilisation
Dim instance As IVsRunningDocTableEvents2
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
)
abstract OnAfterDocumentWindowHide : 
        docCookie:uint32 * 
        pFrame:IVsWindowFrame -> int 
function OnAfterDocumentWindowHide(
    docCookie : uint, 
    pFrame : IVsWindowFrame
) : int

Parameters

  • docCookie
    Type: System.UInt32
    [in] Abstract value representing the document whose attributes have been changed.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsRunningDocTableEvents.OnAfterDocumentWindowHide(UInt32, IVsWindowFrame)

Remarks

COM Signature

From vsshell.idl:

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

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

.NET Framework Security

See Also

Reference

IVsRunningDocTableEvents2 Interface

IVsRunningDocTableEvents2 Members

OnAfterDocumentWindowHide Overload

Microsoft.VisualStudio.Shell.Interop Namespace