次の方法で共有


DesignerDocDataService.IVsRunningDocTableEvents.OnBeforeDocumentWindowShow Method

Definition

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.

Implements

Applies to