IDbCommand.CreateParameter IDbCommand.CreateParameter IDbCommand.CreateParameter IDbCommand.CreateParameter Method

定义

创建 IDbDataParameter 对象的新实例。Creates a new instance of an IDbDataParameter object.

public:
 System::Data::IDbDataParameter ^ CreateParameter();
public System.Data.IDbDataParameter CreateParameter ();
abstract member CreateParameter : unit -> System.Data.IDbDataParameter
Public Function CreateParameter () As IDbDataParameter

返回

IDbDataParameter 对象。An IDbDataParameter object.

注解

从继承时IDbCommand,.NET Framework 数据提供程序实现的强类型版本CreateParameterWhen inheriting from IDbCommand, a .NET Framework data provider implements a strongly-typed version of CreateParameter.

适用于