WorkflowView.IServiceProvider.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 du type spécifié, s’il est disponible.
virtual System::Object ^ System.IServiceProvider.GetService(Type ^ serviceType) = IServiceProvider::GetService;
object IServiceProvider.GetService(Type serviceType);
abstract member System.IServiceProvider.GetService : Type -> obj
override this.System.IServiceProvider.GetService : Type -> obj
Function GetService (serviceType As Type) As Object Implements IServiceProvider.GetService
Paramètres
Retours
Un Object implémentant le service demandé ou une référence Null (Nothing dans Visual Basic) si le service ne peut pas être résolu.
Implémente
Remarques
Si cette serviceTypeCommandID méthode retourne une valeur spécifique CommandID. Pour tout autre Type, GetService retourne un objet qui implémente le service demandé ou une référence null (Nothing) si le service ne peut pas être résolu.