DesignerDocDataService.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow Method

Definition

Called before a document window is displayed.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(System::UInt32 docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnBeforeDocumentWindowShow;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(unsigned int docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnBeforeDocumentWindowShow;
int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(unsigned int docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame);
int IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow (uint docCookie, int firstShow, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
Function OnBeforeDocumentWindowShow (docCookie As UInteger, firstShow As Integer, pFrame As IVsWindowFrame) As Integer Implements IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow

Parameters

docCookie
UInt32

The identifier of the document data object in the Running Document Table.

firstShow
Int32

true if the window will be displayed for the first time, otherwise false.

pFrame
IVsWindowFrame

The IVsWindowFrame interface of the window that will be displayed.

Returns

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

Implements

Applies to