ToolStripPanel.ToolStripPanelRowCollection 類別

定義

表示 ToolStripPanelRow 中的所有 ToolStripPanel 物件。Represents all the ToolStripPanelRow objects in a ToolStripPanel.

public: ref class ToolStripPanel::ToolStripPanelRowCollection : System::Windows::Forms::Layout::ArrangedElementCollection, System::Collections::IList
[System.ComponentModel.ListBindable(false)]
[System.Runtime.InteropServices.ComVisible(false)]
public class ToolStripPanel.ToolStripPanelRowCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.IList
type ToolStripPanel.ToolStripPanelRowCollection = class
    inherit ArrangedElementCollection
    interface IList
    interface ICollection
    interface IEnumerable
Public Class ToolStripPanel.ToolStripPanelRowCollection
Inherits ArrangedElementCollection
Implements IList
繼承
ToolStripPanel.ToolStripPanelRowCollection
屬性
實作

建構函式

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel)

在指定的 ToolStripPanel.ToolStripPanelRowCollection 中,初始化 ToolStripPanel 類別的新執行個體。Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class in the specified ToolStripPanel.

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[])

使用指定之 ToolStripPanel.ToolStripPanelRowCollection 中的指定資料列數目,初始化 ToolStripPanel 類別的新執行個體。Initializes a new instance of the ToolStripPanel.ToolStripPanelRowCollection class with the specified number of rows in the specified ToolStripPanel.

屬性

Count

取得集合中的項目數。Gets the number of elements in the collection.

(繼承來源 ArrangedElementCollection)
IsReadOnly

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

(繼承來源 ArrangedElementCollection)
Item[Int32]

取得 ToolStripPanelRow 中的特定 ToolStripPanel.ToolStripPanelRowCollectionGets a particular ToolStripPanelRow within the ToolStripPanel.ToolStripPanelRowCollection.

方法

Add(ToolStripPanelRow)

將指定的 ToolStripPanelRow 加入至 ToolStripPanel.ToolStripPanelRowCollectionAdds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.

AddRange(ToolStripPanel+ToolStripPanelRowCollection)

將指定的 ToolStripPanel.ToolStripPanelRowCollection 加入至 ToolStripPanel 中。Adds the specified ToolStripPanel.ToolStripPanelRowCollection to a ToolStripPanel.

AddRange(ToolStripPanelRow[])

ToolStripPanelRow 物件陣列加入 ToolStripPanel 中。Adds an array of ToolStripPanelRow objects to a ToolStripPanel.

Clear()

ToolStripPanelRow 移除所有 ToolStripPanel.ToolStripPanelRowCollection 物件。Removes all ToolStripPanelRow objects from the ToolStripPanel.ToolStripPanelRowCollection.

Contains(ToolStripPanelRow)

判斷指定的 ToolStripPanelRow 是否在 ToolStripPanel.ToolStripPanelRowCollection 中。Determines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.

CopyTo(Array, Int32)

從目標陣列的指定之索引處開始,將這個集合的整個內容複製到相容的一維 ArrayCopies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array.

(繼承來源 ArrangedElementCollection)
CopyTo(ToolStripPanelRow[], Int32)

將整個 ToolStripPanel.ToolStripPanelRowCollection 複製到現有陣列中的指定位置。Copies the entire ToolStripPanel.ToolStripPanelRowCollection into an existing array at a specified location within the array.

Equals(Object)

判斷兩個 ArrangedElementCollection 執行個體是否相等。Determines whether two ArrangedElementCollection instances are equal.

(繼承來源 ArrangedElementCollection)
GetEnumerator()

傳回整個集合的列舉值。Returns an enumerator for the entire collection.

(繼承來源 ArrangedElementCollection)
GetHashCode()

傳回這個執行個體的雜湊碼。Returns the hash code for this instance.

(繼承來源 ArrangedElementCollection)
GetType()

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

(繼承來源 Object)
IndexOf(ToolStripPanelRow)

取得指定之 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中的索引。Gets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.

Insert(Int32, ToolStripPanelRow)

將指定的 ToolStripPanelRow 插入 ToolStripPanel.ToolStripPanelRowCollection 中的指定位置。Inserts the specified ToolStripPanelRow at the specified location in the ToolStripPanel.ToolStripPanelRowCollection.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
Remove(ToolStripPanelRow)

將指定的 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中移除。Removes the specified ToolStripPanelRow from the ToolStripPanel.ToolStripPanelRowCollection.

RemoveAt(Int32)

ToolStripPanelRow 移除指定之索引處的 ToolStripPanel.ToolStripPanelRowCollectionRemoves the ToolStripPanelRow at the specified index from the ToolStripPanel.ToolStripPanelRowCollection.

ToString()

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

(繼承來源 Object)

明確介面實作

ICollection.IsSynchronized

如需這個成員的描述,請參閱 IsSynchronized 屬性。For a description of this member, see the IsSynchronized property.

(繼承來源 ArrangedElementCollection)
ICollection.SyncRoot

如需這個成員的描述,請參閱 SyncRoot 屬性。For a description of this member, see the SyncRoot property.

(繼承來源 ArrangedElementCollection)
IList.Add(Object)

如需這個成員的說明,請參閱 Add(Object)For a description of this member, see Add(Object).

IList.Clear()

如需這個成員的說明,請參閱 Clear()For a description of this member, see Clear().

IList.Contains(Object)

如需這個成員的說明,請參閱 Contains(Object)For a description of this member, see Contains(Object).

IList.IndexOf(Object)

如需這個成員的說明,請參閱 IndexOf(Object)For a description of this member, see IndexOf(Object).

IList.Insert(Int32, Object)

如需這個成員的說明,請參閱 Insert(Int32, Object)For a description of this member, see Insert(Int32, Object).

IList.IsFixedSize

如需這個成員的說明,請參閱 IsFixedSizeFor a description of this member, see IsFixedSize.

IList.IsReadOnly

如需這個成員的說明,請參閱 IsReadOnlyFor a description of this member, see IsReadOnly.

IList.Item[Int32]

如需這個成員的說明,請參閱 Item[Int32]For a description of this member, see Item[Int32].

IList.Remove(Object)

如需這個成員的說明,請參閱 Remove(Object)For a description of this member, see Remove(Object).

IList.RemoveAt(Int32)

如需這個成員的說明,請參閱 RemoveAt(Int32)For a description of this member, see RemoveAt(Int32).

擴充方法

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

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

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryableConverts an IEnumerable to an IQueryable.

適用於