EventBindingService.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 le service demandé de la part du fournisseur de services.
protected:
System::Object ^ GetService(Type ^ serviceType);
protected object GetService (Type serviceType);
protected object? GetService (Type serviceType);
member this.GetService : Type -> obj
Protected Function GetService (serviceType As Type) As Object
Paramètres
- serviceType
- Type
Type de service à récupérer.
Retours
Référence au service spécifié par serviceType ou null si le service demandé n'est pas disponible.