DataConnectionSupport.CreateService(IServiceContainer, 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.
Crée un objet de service, en spécifiant le type de service d’interface.
protected:
virtual System::Object ^ CreateService(System::ComponentModel::Design::IServiceContainer ^ container, Type ^ serviceType);
protected virtual object CreateService (System.ComponentModel.Design.IServiceContainer container, Type serviceType);
abstract member CreateService : System.ComponentModel.Design.IServiceContainer * Type -> obj
override this.CreateService : System.ComponentModel.Design.IServiceContainer * Type -> obj
Protected Overridable Function CreateService (container As IServiceContainer, serviceType As Type) As Object
Paramètres
- container
- IServiceContainer
Objet fournisseur de services destiné à contenir le service.
Retours
Nouvel objet de service pour le type spécifié.