Export (0) Print
Expand All

IComponent.Site Property

Gets or sets the ISite associated with the IComponent.

[Visual Basic]
Property Site As ISite
ISite Site {get; set;}
__property ISite* get_Site();
__property void set_Site(ISite*);
function get Site() : ISite;function set Site(ISite);

Property Value

The ISite object associated with the component; or a null reference (Nothing in Visual Basic), if the component does not have a site.


Sites can also serve as a repository for container-specific, per-component information, such as the component name.


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

See Also

IComponent Interface | IComponent Members | System.ComponentModel Namespace | ISite

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft