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
[C#]
IContainer Container {get;}
[C++]
__property IContainer* get_Container();
[JScript]
function get Container() : IContainer;

Property Value

The IContainer instance associated with the ISite.

Remarks

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

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: