This documentation is archived and is not being maintained.

Container.Components Property

Gets all the components in the Container.

[Visual Basic]
Public Overridable ReadOnly Property Components As _
   ComponentCollection  Implements IContainer.Components
[C#]
public virtual ComponentCollection Components {get;}
[C++]
public: __property virtual ComponentCollection* get_Components();
[JScript]
public function get Components() : ComponentCollection;

Property Value

A collection that contains the components in the Container.

Implements

IContainer.Components

Remarks

This method can be overridden by a derived class.

The components in the collection are stored in the same order as they were added to the Container.

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

Container Class | Container Members | System.ComponentModel Namespace

Show: