This documentation is archived and is not being maintained.

MarshalByValueComponent.Container Property

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;

Property Value

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MarshalByValueComponent Class | MarshalByValueComponent Members | System.ComponentModel Namespace | MarshalByValueComponent | IContainer

Show: