DesignerSerializationManager.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.
Pour obtenir une description de ce membre, consultez la GetService(Type) méthode.
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
Objet qui spécifie le type d’objet de service à obtenir.
Retours
Objet de service de type serviceType.
-ou-
null s’il n’existe aucun objet de service de type serviceType.
Implémente
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance DesignerSerializationManager est convertie en IServiceProvider interface.