WindowPane.OnCreate Method
Raised when the window pane is created.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Protected Overridable Sub OnCreate
'使用
Me.OnCreate()
protected virtual void OnCreate()
protected:
virtual void OnCreate()
abstract OnCreate : unit -> unit
override OnCreate : unit -> unit
protected function OnCreate()
Remarks
This method is called during the CreatePaneWindow method. This provides a way of knowing when Visual Studio wants the window. The default implementation does nothing.
.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.