Container.Components 屬性

定義

取得 Container 中的所有元件。Gets all the components in the Container.

public:
 virtual property System::ComponentModel::ComponentCollection ^ Components { System::ComponentModel::ComponentCollection ^ get(); };
public virtual System.ComponentModel.ComponentCollection Components { get; }
member this.Components : System.ComponentModel.ComponentCollection
Public Overridable ReadOnly Property Components As ComponentCollection

屬性值

集合,含有 Container 中的元件。A collection that contains the components in the Container.

實作

備註

衍生類別可以覆寫這個方法。This method can be overridden by a derived class.

集合中的元件會依照新增至 Container的相同順序來儲存。The components in the collection are stored in the same order as they were added to the Container.

適用於