Export (0) Print
Expand All

Package.IServiceContainer.RemoveService Method (Type, Boolean)

This API supports the .NET Framework 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.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

void IServiceContainer.RemoveService(
	Type serviceType,
	bool promote
)

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.

Implements

IServiceContainer.RemoveService(Type, Boolean)

Community Additions

ADD
Show:
© 2014 Microsoft