Partager via


CodeDomDocDataAdapter.GetService, méthode

Obtient le service du type spécifié.

Espace de noms :  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly :  Microsoft.VisualStudio.Shell.Design (dans Microsoft.VisualStudio.Shell.Design.dll)

Syntaxe

'Déclaration
Protected Function GetService ( _
    serviceType As Type _
) As Object
protected Object GetService(
    Type serviceType
)

Paramètres

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

Valeur de retour

Type : System.Object
L'objet représentant le service spécifié, ou nullRéférence Null (Nothing en Visual Basic) si aucune n'est disponible.

Sécurité .NET Framework

Voir aussi

Référence

CodeDomDocDataAdapter Classe

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom, espace de noms