This documentation is archived and is not being maintained.

IContainer.Remove Method

Removes a component from the IContainer.

[Visual Basic]
Sub Remove( _
   ByVal component As IComponent _
)
[C#]
void Remove(
   IComponent component
);
[C++]
void Remove(
   IComponent* component
);
[JScript]
function Remove(
   component : IComponent
);

Parameters

component
The IComponent to remove.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IContainer Interface | IContainer Members | System.ComponentModel Namespace

Show: