Package.IServiceContainer.RemoveService Method (Type, Boolean)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Removes the given service type from the service container, and optionally promotes the removal of the service to parent service containers.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Private Sub RemoveService ( serviceType As Type, promote As Boolean ) Implements IServiceContainer.RemoveService
Parameters
- serviceType
-
Type:
System.Type
The type of service to remove.
- promote
-
Type:
System.Boolean
true to promote this request to any parent service containers; otherwise, false.
Show: