DataConnectionSupport.CreateService(IServiceContainer, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new service object, specifying the interface service type.
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
Parameters
- container
- IServiceContainer
A service provider object to contain the service.
Returns
A new service object for the specified type.