Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SACommand クラス

 

CreateParameter メソッド

SACommand オブジェクトにパラメータを指定するために SAParameter オブジェクトを提供します。

構文
Visual Basic

Public Function CreateParameter() As SAParameter
C#

public SAParameter CreateParameter();
戻り値

SAParameter オブジェクトとして返される新しいパラメータ。

備考

ストアド・プロシージャとその他一部の SQL 文は、疑問符 (?) によって文のテキストに示されているパラメータを使用できます。

CreateParameter メソッドは、SAParameter オブジェクトを提供します。SAParameter にプロパティを設定し、パラメータの値やデータ型などを指定できます。

参照