Export (0) Print
Expand All

IContainer.Remove Method

Removes a component from the IContainer.

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

void Remove(
	IComponent component


Type: System.ComponentModel.IComponent

The IComponent to remove.

Notes to Inheritors

When you inherit from the Remove method, you must also remove the ISite, if any, associated with this IComponent.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
© 2015 Microsoft