SqlCommand.CreateParameter Method

Definition

Creates a new instance of a SqlParameter object.

public:
 System::Data::SqlClient::SqlParameter ^ CreateParameter();
public System.Data.SqlClient.SqlParameter CreateParameter ();
member this.CreateParameter : unit -> System.Data.SqlClient.SqlParameter
Public Function CreateParameter () As SqlParameter

Returns

Remarks

The CreateParameter method is a strongly-typed version of CreateParameter.

Applies to

See also