Gets the IContainer that contains the Component.
Assembly: System (in System.dll)
Syntax . . :: . IContainer
The IContainer that contains the Component, if any, ornull Nothing nullptr a null reference (Nothing in Visual Basic) if the Component is not encapsulated in an IContainer.
<BrowsableAttribute(False)> _
Public ReadOnly Property Container As IContainer
Get[BrowsableAttribute(false)]
public IContainer Container { get; }[BrowsableAttribute(false)]
public:
property IContainer^ Container {
IContainer^ get ();
}[<BrowsableAttribute(false)>]
member Container : IContainer
Property Value
Type: System.ComponentModelThe IContainer that contains the Component, if any, or
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.