DataConnectionSupport.CreateService(IServiceContainer, Type) Yöntem

Tanım

Arabirim hizmeti türünü belirterek yeni bir hizmet nesnesi oluşturur.

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

Parametreler

container
IServiceContainer

Hizmeti içeren bir hizmet sağlayıcı nesnesi.

serviceType
Type

TypeOluşturulacak hizmetin.

Döndürülenler

Object

Belirtilen tür için yeni bir hizmet nesnesi.

Şunlara uygulanır