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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULCommand クラス

 

CreateParameter メソッド

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

構文
Visual Basic
Public Function CreateParameter() As ULParameter
C#
public ULParameter CreateParameter();
戻り値

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

備考

一部の SQL 文では、疑問符 (?) によって文のテキストに示されているパラメータを使用できます。CreateParameter メソッドは、ULParameter オブジェクトを提供します。ULParameter にプロパティを設定して、そのパラメータの値を指定できます。

これは、System.Data.IDbCommand.CreateParameter と System.Data.Common.DbCommand.CreateParameter が厳密に型指定されたものです。

参照