Partilhar via


ComponentModelElement.Site Property

Gets the ISite of the Component.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Hosting
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Property Site As ISite
public ISite Site { get; set; }
public:
virtual property ISite^ Site {
    ISite^ get () sealed;
    void set (ISite^ value) sealed;
}
public final function get Site () : ISite
public final function set Site (value : ISite)

Implements

IComponent.Site

Remarks

This IComponent implementation does not allow the site to be set.

See Also

ComponentModelElement Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Hosting Namespace