ISite.Container 屬性

定義

當由類別實作時,取得與 IContainer 相關聯的 ISiteGets the IContainer associated with the ISite when implemented by a class.

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

屬性值

IContainer 相關聯的 ISite 執行個體。The IContainer instance associated with the ISite.

備註

null若為IComponent ISite屬性, 則表示實例沒有。 Containernull for the Container property indicates that the IComponent instance does not have an ISite.

適用於