DesignerDocDataService.IVsRunningDocTableEvents.OnAfterDocumentWindowHide Method
Called after a document window is hidden.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Déclaration
Private Function OnAfterDocumentWindowHide ( _
docCookie As UInteger, _
pFrame As IVsWindowFrame _
) As Integer Implements IVsRunningDocTableEvents.OnAfterDocumentWindowHide
'Utilisation
Dim instance As DesignerDocDataService
Dim docCookie As UInteger
Dim pFrame As IVsWindowFrame
Dim returnValue As Integer
returnValue = CType(instance, IVsRunningDocTableEvents).OnAfterDocumentWindowHide(docCookie, _
pFrame)
int IVsRunningDocTableEvents.OnAfterDocumentWindowHide(
uint docCookie,
IVsWindowFrame pFrame
)
private:
virtual int OnAfterDocumentWindowHide(
unsigned int docCookie,
IVsWindowFrame^ pFrame
) sealed = IVsRunningDocTableEvents::OnAfterDocumentWindowHide
private abstract OnAfterDocumentWindowHide :
docCookie:uint32 *
pFrame:IVsWindowFrame -> int
private override OnAfterDocumentWindowHide :
docCookie:uint32 *
pFrame:IVsWindowFrame -> int
JScript does not support explicit interface implementations.
Parameters
- docCookie
Type: System.UInt32
The identifier of the document data in the Running Document Table.
- pFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
The IVsWindowFrame interface of the window that was hidden.
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
This method unregisters the views of the window pane.
.NET Framework Security
- 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.