Freigeben über


Package.IServiceContainer.RemoveService Method (Type)

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.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Private Sub RemoveService ( _
    serviceType As Type _
) Implements IServiceContainer.RemoveService
void IServiceContainer.RemoveService(
    Type serviceType
)

Parameters

  • serviceType
    Type: System.Type
    The type of service to remove.

Implements

IServiceContainer.RemoveService(Type)

.NET Framework Security

See Also

Reference

Package Class

RemoveService Overload

Microsoft.VisualStudio.Shell Namespace