ToolStripPanel.ToolStripPanelRowCollection ToolStripPanel.ToolStripPanelRowCollection ToolStripPanel.ToolStripPanelRowCollection ToolStripPanel.ToolStripPanelRowCollection Class

定義

代表 ToolStripPanel 中的所有 ToolStripPanelRow 物件。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.ToolStripPanelRowCollectionToolStripPanel.ToolStripPanelRowCollectionToolStripPanel.ToolStripPanelRowCollectionToolStripPanel.ToolStripPanelRowCollection
屬性
實作

建構函式

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel)

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

ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[]) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[]) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[]) ToolStripPanel.ToolStripPanelRowCollection(ToolStripPanel, ToolStripPanelRow[])

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

屬性

Count Count Count Count

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

(Inherited from ArrangedElementCollection)
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

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

(Inherited from ArrangedElementCollection)
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

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

(Inherited from ArrangedElementCollection)
IsReadOnly IsReadOnly IsReadOnly IsReadOnly

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

(Inherited from ArrangedElementCollection)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

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

方法

Add(ToolStripPanelRow) Add(ToolStripPanelRow) Add(ToolStripPanelRow) Add(ToolStripPanelRow)

將指定ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollectionAdds the specified ToolStripPanelRow to the ToolStripPanel.ToolStripPanelRowCollection.

AddRange(ToolStripPanel+ToolStripPanelRowCollection) AddRange(ToolStripPanel+ToolStripPanelRowCollection) AddRange(ToolStripPanel+ToolStripPanelRowCollection) AddRange(ToolStripPanel+ToolStripPanelRowCollection)

將指定ToolStripPanel.ToolStripPanelRowCollectionToolStripPanelAdds the specified ToolStripPanel.ToolStripPanelRowCollection to a ToolStripPanel.

AddRange(ToolStripPanelRow[]) AddRange(ToolStripPanelRow[]) AddRange(ToolStripPanelRow[]) AddRange(ToolStripPanelRow[])

將陣列加入ToolStripPanelRow物件至ToolStripPanelAdds an array of ToolStripPanelRow objects to a ToolStripPanel.

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

移除所有ToolStripPanelRow物件從ToolStripPanel.ToolStripPanelRowCollectionRemoves all ToolStripPanelRow objects from the ToolStripPanel.ToolStripPanelRowCollection.

Contains(ToolStripPanelRow) Contains(ToolStripPanelRow) Contains(ToolStripPanelRow) Contains(ToolStripPanelRow)

決定是否指定ToolStripPanelRow處於ToolStripPanel.ToolStripPanelRowCollectionDetermines whether the specified ToolStripPanelRow is in the ToolStripPanel.ToolStripPanelRowCollection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) 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.

(Inherited from ArrangedElementCollection)
CopyTo(ToolStripPanelRow[], Int32) CopyTo(ToolStripPanelRow[], Int32) CopyTo(ToolStripPanelRow[], Int32) CopyTo(ToolStripPanelRow[], Int32)

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

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

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

(Inherited from ArrangedElementCollection)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

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

(Inherited from ArrangedElementCollection)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from ArrangedElementCollection)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
IndexOf(ToolStripPanelRow) IndexOf(ToolStripPanelRow) IndexOf(ToolStripPanelRow) IndexOf(ToolStripPanelRow)

取得指定之索引ToolStripPanelRowToolStripPanel.ToolStripPanelRowCollectionGets the index of the specified ToolStripPanelRow in the ToolStripPanel.ToolStripPanelRowCollection.

Insert(Int32, ToolStripPanelRow) Insert(Int32, ToolStripPanelRow) Insert(Int32, ToolStripPanelRow) Insert(Int32, ToolStripPanelRow)

將指定ToolStripPanelRow中指定的位置ToolStripPanel.ToolStripPanelRowCollectionInserts the specified ToolStripPanelRow at the specified location in the ToolStripPanel.ToolStripPanelRowCollection.

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

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

(Inherited from Object)
Remove(ToolStripPanelRow) Remove(ToolStripPanelRow) Remove(ToolStripPanelRow) Remove(ToolStripPanelRow)

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

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

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

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

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

(Inherited from Object)

明確介面實作

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

適用於