IComponent.Site 屬性

定義

取得或設定與 ISite 相關聯的 IComponentGets or sets the ISite associated with the IComponent.

public:
 property System::ComponentModel::ISite ^ Site { System::ComponentModel::ISite ^ get(); void set(System::ComponentModel::ISite ^ value); };
public System.ComponentModel.ISite Site { get; set; }
member this.Site : System.ComponentModel.ISite with get, set
Public Property Site As ISite

屬性值

與元件相關聯的 ISite 物件;或為 null (如果元件沒有站台)。The ISite object associated with the component; or null, if the component does not have a site.

備註

網站也可以做為容器特定、每個元件的資訊 (例如元件名稱) 的存放庫。Sites can also serve as a repository for container-specific, per-component information, such as the component name.

適用於

另請參閱