DataViewSupport.GetService, méthode

Récupère l'objet de service pour le type spécifié.

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

Syntaxe

'Déclaration
Public Function GetService ( _
    serviceType As Type _
) As Object
public Object GetService(
    Type serviceType
)
public:
virtual Object^ GetService(
    Type^ serviceType
) sealed
abstract GetService : 
        serviceType:Type -> Object 
override GetService : 
        serviceType:Type -> Object 
public final function GetService(
    serviceType : Type
) : Object

Paramètres

  • serviceType
    Type : System.Type
    Type d'objet service à obtenir.

Valeur de retour

Type : System.Object
Un objet de service pour le type spécifié.

Implémentations

IServiceProvider.GetService(Type)

Sécurité .NET Framework

Voir aussi

Référence

DataViewSupport Classe

Microsoft.VisualStudio.Data.Framework, espace de noms