DesignerWindowPane.AddDefaultServices Method

Adds the default services the window pane provides.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Protected Overridable Sub AddDefaultServices
'使用

Me.AddDefaultServices()
protected virtual void AddDefaultServices()
protected:
virtual void AddDefaultServices()
protected function AddDefaultServices()

Remarks

This method is called to initialize the services that the window pane wants to add to the service container. The default services are represented by the ISelectionContainer and IHelpService interfaces.

If you do not want the designer window pane to add its own services, or would like to add or change the default services that are provided, you may override this method.

Permissions

See Also

Reference

DesignerWindowPane Class

DesignerWindowPane Members

Microsoft.VisualStudio.Shell.Design Namespace