共用方式為


IVsRunningDocTableEvents3.OnAfterDocumentWindowHide Method

Called after a document window is hidden.

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

Syntax

'Declaration
Function OnAfterDocumentWindowHide ( _
    docCookie As UInteger, _
    pFrame As IVsWindowFrame _
) As Integer
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: UInt32

    [in] Abstract value representing the document whose attributes have been changed.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsRunningDocTableEvents3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace