ExternalDataExchangeService.GetService(Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’implémentation du service du type d’interface spécifié, si le service est disponible.
public:
System::Object ^ GetService(Type ^ serviceType);
public:
virtual System::Object ^ GetService(Type ^ serviceType);
public object GetService(Type serviceType);
public virtual object GetService(Type serviceType);
member this.GetService : Type -> obj
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object
Public Overridable Function GetService (serviceType As Type) As Object
Paramètres
Retours
Objet qui implémente le service demandé ou null (Nothing dans Visual Basic) si le service ne peut pas être résolu.
Exceptions
service est une référence Null (Nothing).
Le service n’est pas inscrit auprès du runtime.