ToolboxCategoryItems ToolboxCategoryItems ToolboxCategoryItems ToolboxCategoryItems Class

定義

ToolboxCategory 物件的集合。A collection of ToolboxCategory objects. 此類別為 sealed,因此不能被繼承。在 Visual Studio 2010 之外重新裝載 Windows 工作流程設計工具時,此類別提供對工具箱項目分類的支援。This class is sealed and so cannot be inherited.This class provides support for the categorization of toolbox items when re-hosting the Windows Workflow Designer outside of Visual Studio 2010.

public ref class ToolboxCategoryItems sealed : System::Collections::Generic::ICollection<System::Activities::Presentation::Toolbox::ToolboxCategory ^>, System::Collections::Generic::IEnumerable<System::Activities::Presentation::Toolbox::ToolboxCategory ^>, System::Collections::IList
public sealed class ToolboxCategoryItems : System.Collections.Generic.ICollection<System.Activities.Presentation.Toolbox.ToolboxCategory>, System.Collections.Generic.IEnumerable<System.Activities.Presentation.Toolbox.ToolboxCategory>, System.Collections.IList
type ToolboxCategoryItems = class
    interface ICollection<ToolboxCategory>
    interface seq<ToolboxCategory>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class ToolboxCategoryItems
Implements ICollection(Of ToolboxCategory), IEnumerable(Of ToolboxCategory), IList
繼承
ToolboxCategoryItemsToolboxCategoryItemsToolboxCategoryItemsToolboxCategoryItems
實作

建構函式

ToolboxCategoryItems() ToolboxCategoryItems() ToolboxCategoryItems() ToolboxCategoryItems()

建立 ToolboxCategoryItems 類別的執行個體。Creates an instance of the ToolboxCategoryItems class.

屬性

Count Count Count Count

取得 ToolboxCategoryItems 中所含之工具的數目。Gets the number of tools contained in the ToolboxCategoryItems.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

取得值,這個值表示 ToolboxCategoryItems 是否為唯讀。Gets a value that indicates whether the ToolboxCategoryItems is read-only.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

取得位於指定之索引的工具箱分類。Gets the toolbox category at the specified index.

方法

Add(ToolboxCategory) Add(ToolboxCategory) Add(ToolboxCategory) Add(ToolboxCategory)

將指定的工具箱分類加入至工具箱分類項目集合結尾。Adds a specified toolbox category to the end of the toolbox category items collection.

Clear() Clear() Clear() Clear()

ToolboxCategoryItems 集合中移除所有項目。Removes all the items from the ToolboxCategoryItems collection.

Contains(ToolboxCategory) Contains(ToolboxCategory) Contains(ToolboxCategory) Contains(ToolboxCategory)

決定 ToolboxCategoryItems 集合是否包含特定的工具箱分類項目。Determines whether the ToolboxCategoryItems collection contains a specific toolbox category item.

CopyTo(ToolboxCategory[], Int32) CopyTo(ToolboxCategory[], Int32) CopyTo(ToolboxCategory[], Int32) CopyTo(ToolboxCategory[], Int32)

從目標 ToolboxCategoryItems 的指定之索引開始,將整個 Array 集合複製至相容的一維 ArrayCopies the entire ToolboxCategoryItems collection to a compatible one-dimensional Array, starting at the specified index of the target Array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

傳回逐一查看 ToolboxCategoryItems 集合的列舉值。Returns an enumerator that iterates through the ToolboxCategoryItems collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(ToolboxCategory) Remove(ToolboxCategory) Remove(ToolboxCategory) Remove(ToolboxCategory)

ToolboxCategoryItems 中移除第一個出現的特定工具箱分類。Removes the first occurrence of a specific toolbox category from the ToolboxCategoryItems.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

明確介面實作

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

從目標 ToolboxCategoryItems 的指定之索引開始,將整個 Array 集合複製至相容的一維 ArrayCopies the entire ToolboxCategoryItems collection to a compatible one-dimensional Array, starting at the specified index of the target Array.

ICollection.Count ICollection.Count ICollection.Count ICollection.Count

取得 ToolboxCategoryItems 集合中所含之工具箱分類的數目。Gets the number of toolbox categories contained in the ToolboxCategoryItems collection.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

取得值,這個值會指出 ToolboxCategoryItems 的存取是否同步 (具備安全執行緒)。Gets a value that indicates whether access to the ToolboxCategoryItems is synchronized (thread safe).

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

取得可用以同步存取 ToolboxCategoryItems 的物件。Gets an object that can be used to synchronize access to the ToolboxCategoryItems.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

傳回逐一查看 ToolboxCategoryItems 集合的列舉值。Returns an enumerator that iterates through the ToolboxCategoryItems collection.

IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

將工具加入至 ToolboxCategoryItemsAdds a tool to the ToolboxCategoryItems.

IList.Clear() IList.Clear() IList.Clear() IList.Clear()

移除 ToolboxCategoryItems 中的所有工具。Removes all the tools from the ToolboxCategoryItems.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

判斷 ToolboxCategoryItems 是否包含特定的工具。Determines whether the ToolboxCategoryItems contains a specific tool.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

判斷 ToolboxCategoryItems 中特定工具的索引。Determines the index of a specific tool in the ToolboxCategoryItems.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

將工具箱分類插入 ToolboxCategoryItems 集合中的指定索引處。Inserts a toolbox category into the ToolboxCategoryItems collection at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

取得值,指出 ToolboxCategoryItems 是否有固定的大小。Gets a value that indicates whether the ToolboxCategoryItems has a fixed size.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

取得值,這個值表示 ToolboxCategoryItems 是否為唯讀。Gets a value that indicates whether the ToolboxCategoryItems is read-only.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

取得或設定位於集合指定之索引的工具箱分類。Gets or sets the toolbox category at a specified index of the collection.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

ToolboxCategoryItems 中移除第一個出現的特定工具箱分類。Removes the first occurrence of a specific toolbox category from the ToolboxCategoryItems.

IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32) IList.RemoveAt(Int32)

移除 ToolboxCategoryItems 集合指定之索引的工具箱分類。Removes a toolbox category at the specified index of the ToolboxCategoryItems collection.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

傳回DataTable,其中包含副本DataRow物件,指定輸入IEnumerable<T>物件其中泛型參數TDataRowReturns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

複本DataRow至指定的物件DataTable,根據輸入IEnumerable<T>物件其中泛型參數TDataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

複本DataRow至指定的物件DataTable,根據輸入IEnumerable<T>物件其中泛型參數TDataRowCopies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

啟用查詢的平行化作業。Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

將轉換IEnumerableIQueryableConverts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

傳回包含來源集合中每個節點祖系的項目集合。Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

傳回包含來源集合中每個節點祖系的已篩選項目集合。Returns a filtered collection of elements that contains the ancestors of every node in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

傳回來源集合中每個文件和項目之子代節點的集合。Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

傳回包含來源集合中每個項目和文件之子代項目的項目集合。Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

傳回已篩選的項目集合,其中包含來源集合中每個項目和文件的子代項目。Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

傳回來源集合中每個項目和文件的子項目集合。Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

傳回來源集合中每個項目和文件的已篩選子項目集合。Returns a filtered collection of the child elements of every element and document in the source collection. 集合中只會包含具有相符之 XName 的項目。Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

傳回包含來源集合中所有節點的節點集合,依據文件順序來排序。Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

傳回來源集合中每個文件和項目的子節點集合。Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

在來源集合中,從每一個節點的父節點移除這些節點。Removes every node in the source collection from its parent node.

適用於