Gets or sets the site of the component.
[Visual Basic] Overridable Public Property Site As ISite [C#] public ISite Site {virtual get; virtual set;} [C++] public: __property virtual ISite* get_Site(); public: __property virtual void set_Site(ISite*); [JScript] public function get Site() : ISite; public function set Site(ISite);
An object implementing the ISite interface that represents the component's site. A non-null value indicates that the component has been added to a container; a null value indicates that the component is being removed (but does not remove it) from a container.
MarshalByRefComponent Class | MarshalByRefComponent Members | System.ComponentModel Namespace