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: virtual void RemoveService( Type^ serviceType, bool promote ) sealed = 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: