共用方式為


ToolWindow.OnCreate Method

Creates a tool window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣告
Protected Overrides NotOverridable Sub OnCreate
protected override sealed void OnCreate()
protected:
virtual void OnCreate() override sealed
abstract OnCreate : unit -> unit 
override OnCreate : unit -> unit 
protected override final function OnCreate()

Remarks

It is recommended that you use OnToolWindowCreate to create a tool window.

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace