Gets the container for the component.
[Visual Basic] Public Overridable ReadOnly Property Container As IContainer [C#] public virtual IContainer Container {get;} [C++] public: __property virtual IContainer* get_Container(); [JScript] public function get Container() : IContainer;
An object implementing the IContainer interface that represents the component's container, or a null reference (Nothing in Visual Basic) if the component does not have a site.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
MarshalByValueComponent Class | MarshalByValueComponent Members | System.ComponentModel Namespace | MarshalByValueComponent | IContainer