Gets information about the container that hosts the current control when rendered on a design surface.
<BrowsableAttribute(False)> _ Public Property Site As ISite
Dim instance As Control Dim value As ISite value = instance.Site instance.Site = value
[BrowsableAttribute(false)] public ISite Site { get; set; }
[BrowsableAttribute(false)] 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)
The control is a Substitution control.
A site binds a Component object to a Container object and enables communication between the two. It also provides a way for the container to manage its components.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98