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 リファレンス

 

ULParameterCollection クラス

ULCommand のすべてのパラメータを表します。このクラスは継承できません。

構文
Visual Basic
Public NotInheritable Class ULParameterCollection
  Inherits DbParameterCollection
C#
public sealed class ULParameterCollection: DbParameterCollection
備考

コレクション内のすべてのパラメータは、位置パラメータとして扱われ、ULCommand.CommandText の疑問符のプレースホルダと同じ順序で指定されます。たとえば、コレクション内の最初のパラメータは、SQL 文の最初の疑問符に対応し、コレクション内の 2 番目のパラメータは、SQL 文の 2 番目の疑問符に対応します。ULCommand.CommandText 内の疑問符の数は、少なくともコレクション内のパラメータの数と同じでなければなりません。パラメータが不足している場合は、NULL が代用されます。

ULParameterCollection にはコンストラクタがありません。ULParameterCollection は、ULCommand.Parameters から取得します。

継承:System.Data.Common.DbParameterCollection

実装:System.Data.IDataParameterCollection

参照

ULParameterCollection メンバ
Count プロパティ
IsFixedSize プロパティ
IsReadOnly プロパティ
IsSynchronized プロパティ
Item プロパティ
SyncRoot プロパティ
Add メソッド
AddRange メソッド
Clear メソッド
Contains メソッド
CopyTo メソッド
GetEnumerator メソッド
IndexOf メソッド
Insert メソッド
Remove メソッド
RemoveAt メソッド