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)
Syntax
'Declaration
Public Overrides Function OnBeforeDocumentWindowShow ( _
docCookie As UInteger, _
firstShow As Integer, _
frame As IVsWindowFrame _
) As Integer
'Usage
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
)
public:
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
Parameters
- 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
- frame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
The document window frame
Return Value
Type: System.Int32
Implements
IVsRunningDocTableEvents3.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
IVsRunningDocTableEvents2.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace