DekGenius.com
[ Team LiB ] Previous Section Next Section

ComponentCollection

System.ComponentModel (system.dll)class

This class encapsulates the collection of Component objects owned by the Container. Note that while this collection is read-only, you add components to the Container using the IContainer.Add() method.

public class ComponentCollection : ReadOnlyCollectionBase {
// Public Constructors
   public ComponentCollection(IComponent[] components);
// Public Instance Properties
   public virtual IComponent this{get; }
   public virtual IComponent this{get; }
// Public Instance Methods
   public void CopyTo(IComponent[] array, int index);
}

Hierarchy

System.Object System.Collections.ReadOnlyCollectionBase(System.Collections.ICollectio, System.Collections.IEnumerable) ComponentCollection

Returned By

Container.Components, IContainer.Components

    [ Team LiB ] Previous Section Next Section