This documentation is archived and is not being maintained.

ISite.Component Property

Gets the component associated with the ISite when implemented by a class.

[Visual Basic]
ReadOnly Property Component As IComponent
[C#]
IComponent Component {get;}
[C++]
__property IComponent* get_Component();
[JScript]
function get Component() : IComponent;

Property Value

The IComponent instance associated with the ISite.

Remarks

A valid value for this property (that is, the value is not a null reference (Nothing in Visual Basic)) indicates that the component has been added to a container.

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

ISite Interface | ISite Members | System.ComponentModel Namespace

Show: