IDbCommand.CreateParameter Method

Definition

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

Returns

An IDbDataParameter object.

Remarks

When inheriting from IDbCommand, a .NET Framework data provider implements a strongly-typed version of CreateParameter.

Applies to