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
‘선언
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.