DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection DesignerOptionService.DesignerOptionCollection Class

定義

包含設計工具選項的集合。Contains a collection of designer options. 這個類別無法被繼承。This class cannot be inherited.

public: ref class DesignerOptionService::DesignerOptionCollection sealed : System::Collections::IList
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.Design.DesignerOptionService/DesignerOptionConverter))]
public sealed class DesignerOptionService.DesignerOptionCollection : System.Collections.IList
type DesignerOptionService.DesignerOptionCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class DesignerOptionService.DesignerOptionCollection
Implements IList
繼承
DesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollectionDesignerOptionService.DesignerOptionCollection
屬性
實作

備註

DesignerOptionService.DesignerOptionCollection類別是包含其他集合DesignerOptionService.DesignerOptionCollection物件。The DesignerOptionService.DesignerOptionCollection class is a collection that contains other DesignerOptionService.DesignerOptionCollection objects. 這會形成樹狀結構的選項,與每個分支都包含名稱和可能的屬性集合的樹狀結構。This forms a tree of options, with each branch of the tree having a name and a possible collection of properties. 樹狀結構的每個父分支包含的所有子分支內容的聯集。Each parent branch of the tree contains a union of the properties of all the child branches.

屬性

Count Count Count Count

取得這個 DesignerOptionService.DesignerOptionCollection 所包含之子選項集合的數目。Gets the number of child option collections this DesignerOptionService.DesignerOptionCollection contains.

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

取得指定索引處的子集合。Gets the child collection at the given index.

Item[String] Item[String] Item[String] Item[String]

取得指定名稱處的子集合。Gets the child collection at the given name.

Name Name Name Name

取得這個 DesignerOptionService.DesignerOptionCollection 的名稱。Gets the name of this DesignerOptionService.DesignerOptionCollection.

Parent Parent Parent Parent

取得父集合物件。Gets the parent collection object.

Properties Properties Properties Properties

取得這個 DesignerOptionService.DesignerOptionCollection 所提供的屬性集合及其所有子系。Gets the collection of properties offered by this DesignerOptionService.DesignerOptionCollection, along with all of its children.

方法

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

從目標陣列的指定索引開始,複製整個集合至相容的一維 ArrayCopies the entire 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()

傳回 IEnumerator,可用來逐一查看這個集合。Returns an IEnumerator that can be used to iterate this 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)
IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection) IndexOf(DesignerOptionService+DesignerOptionCollection)

傳回這個集合範圍中第一次出現指定值的索引。Returns the index of the first occurrence of a given value in a range of this collection.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ShowDialog() ShowDialog() ShowDialog() ShowDialog()

顯示對話方塊使用者介面 (UI),使用者可以使用它來設定這個 DesignerOptionService.DesignerOptionCollection 中的選項。Displays a dialog box user interface (UI) with which the user can configure the options in this DesignerOptionService.DesignerOptionCollection.

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

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

(Inherited from Object)

明確介面實作

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

取得值,指出存取集合是否同步化, 且因而為執行緒安全。Gets a value indicating whether access to the collection is synchronized and, therefore, thread safe.

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

取得物件,這個物件可以用來對集合進行同步存取。Gets an object that can be used to synchronize access to the collection.

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

將項目加入至 IListAdds an item to the IList.

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

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

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

判斷此集合是否包含特定的值。Determines whether the collection contains a specific value.

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

決定集合中指定項目的索引。Determines the index of a specific item in the collection.

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

將項目插入至索引中的指定索引處。Inserts an item into the collection at the specified index.

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

取得值,這個值表示集合的大小是否是固定的。Gets a value indicating whether the collection has a fixed size.

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

取得值,表示集合是否為唯讀。Gets a value indicating whether the collection is read-only.

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

在指定的索引位置上取得或設定項目。Gets or sets the element at the specified index.

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

從集合中移除第一個出現的特定物件。Removes the first occurrence of a specific object from the collection.

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

移除指定索引處的集合項目。Removes the collection item at the specified index.

Extension Methods

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.

適用於

另請參閱