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

定义

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

 virtual System::Data::IDbDataParameter ^ System.Data.IDbCommand.CreateParameter() = System::Data::IDbCommand::CreateParameter;
System.Data.IDbDataParameter IDbCommand.CreateParameter ();
Function CreateParameter () As IDbDataParameter Implements IDbCommand.CreateParameter

返回

一个 IDbDataParameter 对象。An IDbDataParameter object.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbCommand 实例被强制转换为 IDbCommand 接口时使用。It can be used only when the DbCommand instance is cast to an IDbCommand interface.

有关详细信息,请参阅 CreateParameterFor more information, see CreateParameter.

适用于

另请参阅