다음을 통해 공유


DataProviderObjectFactory.CreateObject(Type) Method

Definition

Creates a data-provider-written object that implements the specified object type.

public:
 abstract System::Object ^ CreateObject(Type ^ objType);
public abstract object CreateObject (Type objType);
abstract member CreateObject : Type -> obj
Public MustOverride Function CreateObject (objType As Type) As Object

Parameters

objType
Type

Data type of object to create.

Returns

Returns an object of type specified by the objectType parameter, or null if the object type is not supported.

Applies to