SqlCommand.CreateParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of a SqlParameter object.
public:
Microsoft::Data::SqlClient::SqlParameter ^ CreateParameter();
public Microsoft.Data.SqlClient.SqlParameter CreateParameter ();
override this.CreateParameter : unit -> Microsoft.Data.SqlClient.SqlParameter
Public Function CreateParameter () As SqlParameter
Returns
A SqlParameter object.
Remarks
The CreateParameter method is a strongly-typed version of CreateParameter.