ServiceProvider.RemoveService, méthode (Type)

Supprime le service spécifié de la collection interne de services

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Sub RemoveService ( _
    serviceType As Type _
)
public void RemoveService(
    Type serviceType
)
public:
virtual void RemoveService(
    Type^ serviceType
) sealed
abstract RemoveService : 
        serviceType:Type -> unit  
override RemoveService : 
        serviceType:Type -> unit
public final function RemoveService(
    serviceType : Type
)

Paramètres

  • serviceType
    Type : Type

    Type du service.

Implémentations

IServiceContainer.RemoveService(Type)

Sécurité .NET Framework

Voir aussi

Référence

ServiceProvider Classe

RemoveService, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms