DesignerDocDataService.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called before a document window is displayed.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(System::UInt32 docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents::OnBeforeDocumentWindowShow;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(unsigned int docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents::OnBeforeDocumentWindowShow;
int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(unsigned int docCookie, int firstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame);
int IVsRunningDocTableEvents.OnBeforeDocumentWindowShow (uint docCookie, int firstShow, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
Function OnBeforeDocumentWindowShow (docCookie As UInteger, firstShow As Integer, pFrame As IVsWindowFrame) As Integer Implements IVsRunningDocTableEvents.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.