Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Control.Site Property

Gets information about the Web site to which the server control belongs.

[Visual Basic]
Public Overridable Property Site As ISite  Implements _
public virtual ISite Site {get; set;}
public: __property virtual ISite* get_Site();
public: __property virtual void set_Site(ISite*);
public function get Site() : ISite;
public function set Site(ISite);

Property Value

Information about the server control's Web site.




Sites bind a Component to a Container and enable communication between them. They also provide a way for the container to manage its components.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Web.UI Namespace | ISite

© 2015 Microsoft