ToolStripPanel.ToolStripPanelRowCollection 類別

定義

代表 ToolStripPanel 中的所有 ToolStripPanelRow 物件。

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
[System.ComponentModel.ListBindable(false)]
public class ToolStripPanel.ToolStripPanelRowCollection : System.Windows.Forms.Layout.ArrangedElementCollection, System.Collections.IList
[<System.ComponentModel.ListBindable(false)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type ToolStripPanel.ToolStripPanelRowCollection = class
    inherit ArrangedElementCollection
    interface IList
    interface ICollection
    interface IEnumerable
[<System.ComponentModel.ListBindable(false)>]
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 類別的新執行個體。

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[])

使用指定之 ToolStripPanel.ToolStripPanelRowCollection 中的指定資料列數目,初始化 ToolStripPanel 類別的新執行個體。

屬性

Count

取得集合中的項目數。

(繼承來源 ArrangedElementCollection)
IsReadOnly

取得值,表示集合是否為唯讀。

(繼承來源 ArrangedElementCollection)
Item[Int32]

取得 ToolStripPanelRow 中的特定 ToolStripPanel.ToolStripPanelRowCollection

方法

Add(ToolStripPanelRow)

將指定的 ToolStripPanelRow 加入至 ToolStripPanel.ToolStripPanelRowCollection

AddRange(ToolStripPanel+ToolStripPanelRowCollection)

將指定的 ToolStripPanel.ToolStripPanelRowCollection 加入至 ToolStripPanel 中。

AddRange(ToolStripPanelRow[])

ToolStripPanelRow 物件陣列加入 ToolStripPanel 中。

Clear()

ToolStripPanelRow 移除所有 ToolStripPanel.ToolStripPanelRowCollection 物件。

Contains(ToolStripPanelRow)

判斷指定的 ToolStripPanelRow 是否在 ToolStripPanel.ToolStripPanelRowCollection 中。

CopyTo(Array, Int32)

從目標陣列的指定之索引處開始,將這個集合的整個內容複製到相容的一維 Array

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

將整個 ToolStripPanel.ToolStripPanelRowCollection 複製到現有陣列中的指定位置。

Equals(Object)

判斷兩個 ArrangedElementCollection 執行個體是否相等。

(繼承來源 ArrangedElementCollection)
GetEnumerator()

傳回整個集合的列舉值。

(繼承來源 ArrangedElementCollection)
GetHashCode()

傳回這個執行個體的雜湊碼。

(繼承來源 ArrangedElementCollection)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IndexOf(ToolStripPanelRow)

取得指定之 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中的索引。

Insert(Int32, ToolStripPanelRow)

將指定的 ToolStripPanelRow 插入 ToolStripPanel.ToolStripPanelRowCollection 中的指定位置。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Remove(ToolStripPanelRow)

將指定的 ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollection 中移除。

RemoveAt(Int32)

ToolStripPanelRow 移除位於指定索引位置的 ToolStripPanel.ToolStripPanelRowCollection

ToString()

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

(繼承來源 Object)

明確介面實作

ICollection.IsSynchronized

如需這個成員的描述,請參閱 IsSynchronized 屬性。

(繼承來源 ArrangedElementCollection)
ICollection.SyncRoot

如需這個成員的描述,請參閱 SyncRoot 屬性。

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

如需這個成員的說明,請參閱 Add(Object)

IList.Clear()

如需這個成員的說明,請參閱 Clear()

IList.Contains(Object)

如需這個成員的說明,請參閱 Contains(Object)

IList.IndexOf(Object)

如需這個成員的說明,請參閱 IndexOf(Object)

IList.Insert(Int32, Object)

如需這個成員的說明,請參閱 Insert(Int32, Object)

IList.IsFixedSize

如需這個成員的說明,請參閱 IsFixedSize

IList.IsReadOnly

如需這個成員的說明,請參閱 IsReadOnly

IList.Item[Int32]

如需這個成員的說明,請參閱 Item[Int32]

IList.Remove(Object)

如需這個成員的說明,請參閱 Remove(Object)

IList.RemoveAt(Int32)

如需這個成員的說明,請參閱 RemoveAt(Int32)

擴充方法

Cast<TResult>(IEnumerable)

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

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

啟用查詢的平行化作業。

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryable

適用於