Package.IServiceContainer.RemoveService Method (Type, Boolean)

 

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.

Namespace:   Microsoft.VisualStudio.Shell
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.

Return to top
Show: