DbProviderFactory.CreateParameter Method

Definition

Returns a new instance of the provider's class that implements the DbParameter class.

public:
 virtual System::Data::Common::DbParameter ^ CreateParameter();
public virtual System.Data.Common.DbParameter CreateParameter ();
public virtual System.Data.Common.DbParameter? CreateParameter ();
abstract member CreateParameter : unit -> System.Data.Common.DbParameter
override this.CreateParameter : unit -> System.Data.Common.DbParameter
Public Overridable Function CreateParameter () As DbParameter

Returns

A new instance of DbParameter.

Applies to

See also