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
- 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.