Szerkesztés

Megosztás a következőn keresztül:


SqlCommand.IDbCommand.CreateParameter Method

Definition

Creates a new instance of a SqlParameter 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

A SqlParameter object.

Implements

Remarks

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

Applies to