This documentation is archived and is not being maintained.
Encapsulates zero or more components.
The Container type exposes the following members.
|Add||Overloaded. Adds a Component to the Container.|
|CreateSite||Creates a site ISite for the given IComponent and assigns the given name to the site.|
|Dispose||Overloaded. Releases the resources used by the Container.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Releases unmanaged resources and performs other cleanup operations before the Container is reclaimed by garbage collection. (Overrides Object.Finalize().)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetService||Gets the service object of the specified type, if it is available.|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Remove||Removes a component from the Container.|
|RemoveWithoutUnsiting||Removes a component from the Container without setting Site to null.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|ValidateName||Determines whether the component name is unique for this container.|