IComponent.Site Property


Gets or sets the ISite associated with the IComponent.

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

Property Value

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.

Applies to

See also