IDesignerHost.Container 屬性

定義

取得這個設計工具主應用程式的容器。

public:
 property System::ComponentModel::IContainer ^ Container { System::ComponentModel::IContainer ^ get(); };
public System.ComponentModel.IContainer Container { get; }
member this.Container : System.ComponentModel.IContainer
Public ReadOnly Property Container As IContainer

屬性值

這個主應用程式 (Host) 的 IContainer

備註

IContainer 包含目前設計模式檔的元件。 您可以透過 Components 這個 IContainer的成員,列出或存取目前設計模式檔的任何元件。

適用於