Partager via


ServiceProvider.GetServiceImpl, méthode (Type)

Fournit l'implémentation pour récupérer un service d'un type spécifique.

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

Syntaxe

'Déclaration
Protected Overridable Function GetServiceImpl ( _
    serviceType As Type _
) As Object
protected virtual Object GetServiceImpl(
    Type serviceType
)
protected:
virtual Object^ GetServiceImpl(
    Type^ serviceType
)
abstract GetServiceImpl : 
        serviceType:Type -> Object 
override GetServiceImpl : 
        serviceType:Type -> Object 
protected function GetServiceImpl(
    serviceType : Type
) : Object

Paramètres

Valeur de retour

Type : System.Object
Retourne le service du type spécifié, ou retourne nullune référence null (Nothing en Visual Basic) si aucun service n'a été trouvé.

Sécurité .NET Framework

Voir aussi

Référence

ServiceProvider Classe

GetServiceImpl, surcharge

Microsoft.VisualStudio.Data, espace de noms

IServiceProvider