This documentation is archived and is not being maintained.

ISite.Container Property

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

[Visual Basic]
ReadOnly Property Container As IContainer
IContainer Container {get;}
__property IContainer* get_Container();
function get Container() : IContainer;

Property Value

The IContainer instance associated with the ISite.


A null reference (Nothing in Visual Basic) for the Container property indicates that the IComponent instance does not have an ISite.


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