Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IContainer Interface

Provides functionality for containers. Containers are objects that logically contain zero or more components.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

[ComVisibleAttribute(true)]
public interface IContainer : IDisposable

The IContainer type exposes the following members.

  NameDescription
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360ComponentsGets all the components in the IContainer.
Top

  NameDescription
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360Add(IComponent)Adds a component to the container.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360Add(IComponent, String)Adds a component to the container.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360RemoveRemoves a component from the container.
Top

This interface exists in Silverlight as a type system requirement for ITypeDescriptorContext and compatibility requirements for TypeConverter. It is not intended for implementation.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft