WorkflowView.IServiceProvider.GetService(Type) Méthode

Définition

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

serviceType
Type

Service Type à récupérer.

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.

S’applique à