DbCommand.IDbCommand.CreateParameter Method

Definition

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 ();
abstract member System.Data.IDbCommand.CreateParameter : unit -> System.Data.IDbDataParameter
override this.System.Data.IDbCommand.CreateParameter : unit -> System.Data.IDbDataParameter
Function CreateParameter () As IDbDataParameter Implements IDbCommand.CreateParameter

Returns

IDbDataParameter

An IDbDataParameter object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DbCommand instance is cast to an IDbCommand interface.

For more information, see CreateParameter.

Applies to