Partager via


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

'Declaration
Protected Overridable Sub AddDefaultServices
protected virtual void AddDefaultServices()
protected:
virtual void AddDefaultServices()
abstract AddDefaultServices : unit -> unit  
override AddDefaultServices : unit -> unit
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.

.NET Framework Security

See Also

Reference

DesignerWindowPane Class

Microsoft.VisualStudio.Shell.Design Namespace