DesignerDocDataService.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow Method
Called before a document window is displayed.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Private Function OnBeforeDocumentWindowShow ( _
docCookie As UInteger, _
firstShow As Integer, _
pFrame As IVsWindowFrame _
) As Integer Implements IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow
int IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(
uint docCookie,
int firstShow,
IVsWindowFrame pFrame
)
private:
virtual int OnBeforeDocumentWindowShow(
unsigned int docCookie,
int firstShow,
IVsWindowFrame^ pFrame
) sealed = IVsRunningDocTableEvents2::OnBeforeDocumentWindowShow
private abstract OnBeforeDocumentWindowShow :
docCookie:uint32 *
firstShow:int *
pFrame:IVsWindowFrame -> int
private override OnBeforeDocumentWindowShow :
docCookie:uint32 *
firstShow:int *
pFrame:IVsWindowFrame -> int
JScript does not support explicit interface implementations.
Parameters
docCookie
Type: UInt32The identifier of the document data object in the Running Document Table.
firstShow
Type: Int32true if the window will be displayed for the first time, otherwise false.
pFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameThe IVsWindowFrame interface of the window that will be displayed.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
Remarks
By default this method is not implemented.
.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.