次の方法で共有


DesignerActionService.Remove メソッド

定義

1 つ以上のコンポーネントから 1 つ以上のスマート タグ リストの関連付けを解除します。

オーバーロード

名前 説明
Remove(DesignerActionList)

現在のサービスによって管理されているすべてのコンポーネントから、指定されたスマート タグ リストを削除します。

Remove(IComponent)

指定したコンポーネントに関連付けられているすべてのスマート タグ リストを削除します。

Remove(IComponent, DesignerActionList)

指定したコンポーネントから、指定したスマート タグ リストを削除します。

Remove(DesignerActionList)

ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs

現在のサービスによって管理されているすべてのコンポーネントから、指定されたスマート タグ リストを削除します。

public:
 void Remove(System::ComponentModel::Design::DesignerActionList ^ actionList);
public void Remove(System.ComponentModel.Design.DesignerActionList actionList);
member this.Remove : System.ComponentModel.Design.DesignerActionList -> unit
Public Sub Remove (actionList As DesignerActionList)

パラメーター

actionList
DesignerActionList

削除するスマート タグの一覧。

例外

actionListnullです。

注釈

このバージョンの Remove メソッドは、通常、デザイン ツールの開発者が使用します。コンポーネント開発者は、通常、現在のデザイン空間に存在する他のコンポーネントがわからないためです。

成功した場合、このメソッドは DesignerActionListsChanged イベントを発生させます。

こちらもご覧ください

適用対象

Remove(IComponent)

ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs

指定したコンポーネントに関連付けられているすべてのスマート タグ リストを削除します。

public:
 void Remove(System::ComponentModel::IComponent ^ comp);
public void Remove(System.ComponentModel.IComponent comp);
member this.Remove : System.ComponentModel.IComponent -> unit
Public Sub Remove (comp As IComponent)

パラメーター

comp
IComponent

スマート タグの関連付けを解除するコンポーネント。

例外

compnullです。

注釈

成功した場合、 Remove メソッドは DesignerActionListsChanged イベントを発生させます。

こちらもご覧ください

適用対象

Remove(IComponent, DesignerActionList)

ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs
ソース:
DesignerActionService.cs

指定したコンポーネントから、指定したスマート タグ リストを削除します。

public:
 void Remove(System::ComponentModel::IComponent ^ comp, System::ComponentModel::Design::DesignerActionList ^ actionList);
public void Remove(System.ComponentModel.IComponent comp, System.ComponentModel.Design.DesignerActionList actionList);
member this.Remove : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionList -> unit
Public Sub Remove (comp As IComponent, actionList As DesignerActionList)

パラメーター

comp
IComponent

スマート タグの関連付けを解除するコンポーネント。

actionList
DesignerActionList

削除するスマート タグの一覧。

例外

パラメーターの一方または両方が null

注釈

成功した場合、 Remove メソッドは DesignerActionListsChanged イベントを発生させます。

こちらもご覧ください

適用対象