IComponent Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
When implemented by a class, gets or sets the ISite associated with the component.
Namespace: System.ComponentModel
Assembly: System (in System.dll)
Syntax
'Declaration
Public Interface IComponent _
Inherits IDisposable
public interface IComponent : IDisposable
The IComponent type exposes the following members.
Properties
Name | Description | |
---|---|---|
Site | When implemented by a class, gets or sets the ISite associated with the component. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
Top
Events
Name | Description | |
---|---|---|
Disposed | Adds an event handler to listen to the Disposed event on the component. |
Top
Remarks
This interface exists in Silverlight as a type system requirement for ITypeDescriptorContext and compatibility requirements for TypeConverter. It is not intended for implementation.
Version Information
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
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.