Partager via


Store.GetService, méthode

Obtient un service.

Espace de noms :  Microsoft.VisualStudio.Modeling
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntaxe

'Déclaration
Public Function GetService ( _
    serviceType As Type _
) As Object
public Object GetService(
    Type serviceType
)

Paramètres

  • serviceType
    Type : System.Type
    Le type de service à obtenir.

Valeur de retour

Type : System.Object
Un objet qui représente le ServiceType.

Implémentations

IServiceProvider.GetService(Type)

Sécurité .NET Framework

Voir aussi

Référence

Store Classe

Microsoft.VisualStudio.Modeling, espace de noms