This documentation is archived and is not being maintained.

Control.Site Property

Gets or sets the site of the control.

[Visual Basic]
Overrides Public Property Site As ISite  Implements IComponent.Site
[C#]
public override ISite Site {get; set;}
[C++]
public: __property ISite* get_Site();
public: __property void set_Site(ISite*);
[JScript]
public override function get Site() : ISite;
public override function set Site(ISite);

Property Value

The ISite associated with the Control, if any.

Implements

IComponent.Site

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | ISite | IComponent.Site

Show: