次の方法で共有


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

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace