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:
System::Data::SqlClient::SqlParameter ^ CreateParameter();
public System.Data.SqlClient.SqlParameter CreateParameter ();
override this.CreateParameter : unit -> System.Data.SqlClient.SqlParameter
member this.CreateParameter : unit -> System.Data.SqlClient.SqlParameter
Public Function CreateParameter () As SqlParameter
Returns
A SqlParameter object.
Remarks
The CreateParameter method is a strongly-typed version of CreateParameter.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.