AdoDotNetConnectionSupport.CreateService(IServiceContainer, Type) Method

Definition

Creates a new service object based on the specified interface service type.

protected:
 override System::Object ^ CreateService(System::ComponentModel::Design::IServiceContainer ^ container, Type ^ serviceType);
protected override object CreateService (System.ComponentModel.Design.IServiceContainer container, Type serviceType);
override this.CreateService : System.ComponentModel.Design.IServiceContainer * Type -> obj
Protected Overrides Function CreateService (container As IServiceContainer, serviceType As Type) As Object

Parameters

container
IServiceContainer

A service provider object to contain the service.

serviceType
Type

A Type of the service to create.

Returns

The service object.

Applies to