DataProviderObjectFactory.CreateObject(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 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.