表示 ULCommand 的所有参数。
Public NotInheritable Class ULParameterCollection Inherits System.Data.Common.DbParameterCollection
public sealed class ULParameterCollection : System.Data.Common.DbParameterCollection
ULParameterCollection 类的所有成员,包括所有继承的成员。
名称 | 说明 |
---|---|
向集合中添加一个 ULParameter。 | |
将值数组添加到 ULParameterCollection 的末尾。 | |
删除集合中的所有参数。 | |
检查集合中是否存在 ULParameter。 | |
将 ULParameter 对象从 ULParameterCollection 复制到指定的数组。 | |
返回该集合的枚举器。 | |
|
在集合中指定索引处返回 ![]() |
返回 ULParameter 在集合中的位置。 | |
在集合中指定索引处插入 ULParameter。 | |
从集合中删除一个 ULParameter。 | |
从集合中删除指定索引处的参数。 | |
|
在指定索引处将 ![]() |
返回集合中 ULParameter 对象的数量。 | |
指示 ULParameterCollection 是否具有固定大小。 | |
指示 ULParameterCollection 是否为只读。 | |
指示 ULParameterCollection 是否已同步。 | |
返回可用于同步对 SAParameterCollection 的访问的对象。 | |
返回指定索引处的 ULParameter。 |
集合中的所有参数均被视为定位参数,并按照 ULCommand.CommandText 中问号占位符的顺序指定。例如,集合中的第一个参数对应 SQL 语句中的第一个问号,集合中的第二个参数对应 SQL 语句中的第二个问号,依此类推。ULCommand.CommandText 中问号的个数必须至少与集合中参数的个数相同。以空值替代缺少的参数。
ULParameterCollection 不具有构造函数。您通过 ULCommand.Parameters 获取 ULParameterCollection。
Add 方法
AddRange 方法
Clear 方法
Contains 方法
CopyTo 方法
GetEnumerator 方法
IndexOf 方法
Insert 方法
Remove 方法
RemoveAt 方法
Count 属性
IsFixedSize 属性
IsReadOnly property
IsSynchronized 属性
SyncRoot 属性
this 属性
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |