次の方法で共有


IContainer.Remove メソッド

IContainer からコンポーネントを削除します。

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

パラメータ

解説

継承時の注意: Remove メソッドから継承する場合は、この IComponent に関連付けられている ISite があれば、それも削除する必要があります。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

IContainer インターフェイス | IContainer メンバ | System.ComponentModel 名前空間