DbParameterCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
與 相關 DbCommand參數集合的基底類別。
public ref class DbParameterCollection abstract : System::Collections::IList
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Collections::IList, System::Data::IDataParameterCollection
public ref class DbParameterCollection abstract : MarshalByRefObject, System::Data::IDataParameterCollection
public abstract class DbParameterCollection : System.Collections.IList
public abstract class DbParameterCollection : MarshalByRefObject, System.Collections.IList, System.Data.IDataParameterCollection
public abstract class DbParameterCollection : MarshalByRefObject, System.Data.IDataParameterCollection
type DbParameterCollection = class
interface ICollection
interface IEnumerable
interface IList
type DbParameterCollection = class
inherit MarshalByRefObject
interface IDataParameterCollection
interface IList
interface ICollection
interface IEnumerable
type DbParameterCollection = class
inherit MarshalByRefObject
interface ICollection
interface IEnumerable
interface IList
interface IDataParameterCollection
Public MustInherit Class DbParameterCollection
Implements IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection, IList
Public MustInherit Class DbParameterCollection
Inherits MarshalByRefObject
Implements IDataParameterCollection
- 繼承
-
DbParameterCollection
- 繼承
- 衍生
- 實作
建構函式
| 名稱 | Description |
|---|---|
| DbParameterCollection() |
初始化 DbParameterCollection 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
指定收藏品數量。 |
| IsFixedSize |
指定集合是否為固定大小。 |
| IsReadOnly |
指定該集合是否為唯讀。 |
| IsSynchronized |
指定集合是否同步。 |
| Item[Int32] |
在指定的索引上取得或設定 。DbParameter |
| Item[String] |
取得或設定指定名稱的 。DbParameter |
| SyncRoot |
指定 Object 用於同步存取集合的 。 |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| ICollection.IsSynchronized |
取得值,指出是否同步存取 ICollection (線程安全)。 |
| IDataParameterCollection.Item[String] |
取得或設定參數於指定的索引。 |
| IList.IsFixedSize |
會得到一個值,表示 是否 IList 具有固定大小。 |
| IList.IsReadOnly |
取得值,指出 IList 是否為唯讀。 |
| IList.Item[Int32] |
取得或設定位於指定索引處的專案。 |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |