DesignerActionService.Remove 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从一个或多个组件取消关联一个或多个智能标记列表。
重载
| 名称 | 说明 |
|---|---|
| Remove(DesignerActionList) |
从当前服务管理的所有组件中删除指定的智能标记列表。 |
| Remove(IComponent) |
删除与指定组件关联的所有智能标记列表。 |
| Remove(IComponent, DesignerActionList) |
从指定组件中删除指定的智能标记列表。 |
Remove(DesignerActionList)
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- 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
要删除的智能标记的列表。
例外
actionList 是 null。
注解
此版本的 Remove 方法通常由设计工具开发人员使用,因为组件开发人员通常不知道当前设计空间中存在哪些其他组件。
如果成功,此方法将 DesignerActionListsChanged 引发事件。
另请参阅
适用于
Remove(IComponent)
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- 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
要取消关联智能标记的组件。
例外
comp 是 null。
注解
如果成功,该方法 Remove 将引发事件 DesignerActionListsChanged 。
另请参阅
适用于
Remove(IComponent, DesignerActionList)
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- DesignerActionService.cs
- Source:
- 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 。