ToolboxItemCollection 類別

定義

表示工具箱項目的集合。

public ref class ToolboxItemCollection sealed : System::Collections::ReadOnlyCollectionBase
public sealed class ToolboxItemCollection : System.Collections.ReadOnlyCollectionBase
type ToolboxItemCollection = class
    inherit ReadOnlyCollectionBase
Public NotInheritable Class ToolboxItemCollection
Inherits ReadOnlyCollectionBase
繼承
ToolboxItemCollection

建構函式

ToolboxItemCollection(ToolboxItem[])

使用工具箱項目的指定陣列,初始化 ToolboxItemCollection 類別的新執行個體。

ToolboxItemCollection(ToolboxItemCollection)

使用指定的集合,初始化 ToolboxItemCollection 類別的新執行個體。

屬性

Count

取得 ReadOnlyCollectionBase 執行個體中包含的元素數目。

(繼承來源 ReadOnlyCollectionBase)
InnerList

取得包含於 ReadOnlyCollectionBase 執行個體中的項目清單。

(繼承來源 ReadOnlyCollectionBase)
Item[Int32]

取得指定索引處的 ToolboxItem

方法

Contains(ToolboxItem)

指出集合是否包含指定的 ToolboxItem

CopyTo(ToolboxItem[], Int32)

將集合複製到以指定目的索引開頭的指定陣列。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetEnumerator()

傳回可逐一查看 ReadOnlyCollectionBase 執行個體的列舉值。

(繼承來源 ReadOnlyCollectionBase)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IndexOf(ToolboxItem)

取得指定 ToolboxItem 的索引 (如果存在於集合中)。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

明確介面實作

ICollection.CopyTo(Array, Int32)

從目標陣列的指定索引開始,將整個 ReadOnlyCollectionBase 複製到相容的一維 Array

(繼承來源 ReadOnlyCollectionBase)
ICollection.IsSynchronized

取得值,指出對 ReadOnlyCollectionBase 物件的存取是否為同步的 (執行緒安全)。

(繼承來源 ReadOnlyCollectionBase)
ICollection.SyncRoot

取得可用來同步存取 ReadOnlyCollectionBase 物件的物件。

(繼承來源 ReadOnlyCollectionBase)

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於