Share via


DataViewSupport.CreateService(Type) Method

Definition

Creates a service for the specified type.

protected:
 virtual System::Object ^ CreateService(Type ^ serviceType);
protected virtual object CreateService (Type serviceType);
abstract member CreateService : Type -> obj
override this.CreateService : Type -> obj
Protected Overridable Function CreateService (serviceType As Type) As Object

Parameters

serviceType
Type

The type of service object to create.

Returns

A new service object for the specified type.

Exceptions

The serviceType parameter is null.

Applies to