Removes the specified service from the internal services collection
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Sub RemoveService ( _
serviceType As Type _
)
'使用
Dim instance As ServiceProvider
Dim serviceType As Type
instance.RemoveService(serviceType)
public void RemoveService(
Type serviceType
)
public:
virtual void RemoveService(
Type^ serviceType
) sealed
public final function RemoveService(
serviceType : Type
)
Parameters
serviceType
Type: System.TypeThe type of the service.
Implements
IServiceContainer.RemoveService(Type)
Permissions
- 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.