using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel
{
/// Provides functionality for containers. Containers are objects that logically contain zero or more components.
// Token: 0x02000089 RID: 137
[ComVisible(true)]
public interface IContainer : IDisposable
{
/// Gets all the components in the .
/// A collection of objects that represents all the components in the .
// Token: 0x17000147 RID: 327
// (get) Token: 0x060004D9 RID: 1241
ComponentCollection Components { get; }
/// Adds the specified to the at the end of the list.
/// The to add.
// Token: 0x060004DA RID: 1242
void Add(IComponent component);
/// Adds the specified to the at the end of the list, and assigns a name to the component.
/// The to add.
/// The unique, case-insensitive name to assign to the component.-or- null that leaves the component unnamed.
// Token: 0x060004DB RID: 1243
void Add(IComponent component, string name);
/// Removes a component from the .
/// The to remove.
// Token: 0x060004DC RID: 1244
void Remove(IComponent component);
}
}