ActionableRdtListener.OnBeforeDocumentWindowShow Method

Called before a document window is shown.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)


Public Overrides Function OnBeforeDocumentWindowShow ( _
    docCookie As UInteger, _
    firstShow As Integer, _
    frame As IVsWindowFrame _
) As Integer
Dim instance As ActionableRdtListener
Dim docCookie As UInteger
Dim firstShow As Integer
Dim frame As IVsWindowFrame
Dim returnValue As Integer

returnValue = instance.OnBeforeDocumentWindowShow(docCookie, _
    firstShow, frame)
public override int OnBeforeDocumentWindowShow(
    uint docCookie,
    int firstShow,
    IVsWindowFrame frame
virtual int OnBeforeDocumentWindowShow(
    unsigned int docCookie, 
    int firstShow, 
    IVsWindowFrame^ frame
) override
public override function OnBeforeDocumentWindowShow(
    docCookie : uint, 
    firstShow : int, 
    frame : IVsWindowFrame
) : int
abstract OnBeforeDocumentWindowShow : 
        docCookie:uint32 * 
        firstShow:int * 
        frame:IVsWindowFrame -> int 
override OnBeforeDocumentWindowShow : 
        docCookie:uint32 * 
        firstShow:int * 
        frame:IVsWindowFrame -> int 


  • docCookie
    Type: System.UInt32
    The document cookie for this project
  • firstShow
    Type: System.Int32
    Specifies whether this is the first time the window is shown

Return Value

Type: System.Int32


IVsRunningDocTableEvents3.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)

.NET Framework Security

See Also


ActionableRdtListener Class

ActionableRdtListener Members

Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace