AdoDotNetProviderObjectFactory.CreateObject(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
支持创建 DataConnectionProperties 和 DataConnectionSupport 类型。
public:
override System::Object ^ CreateObject(Type ^ objType);
public override object CreateObject (Type objType);
override this.CreateObject : Type -> obj
Public Overrides Function CreateObject (objType As Type) As Object
参数
- objType
- Type
要创建的对象的数据类型。
返回
返回由参数指定的类型的对象 objectType ; 如果不支持该对象类型,则返回 null。