Export (0) Print
Expand All

IComponent.Site Property

Gets or sets the ISite associated with the IComponent.

[Visual Basic]
Property Site As ISite
[C#]
ISite Site {get; set;}
[C++]
__property ISite* get_Site();
__property void set_Site(ISite*);
[JScript]
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.

Remarks

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

Requirements

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
Show:
© 2014 Microsoft