Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft