DesignerActionService.Remove Methode
Definition
Hebt die Zuordnung einer oder mehrerer Smarttaglisten zu einer oder mehreren Komponenten auf.Disassociates one or more smart tag lists from one or more components.
Überlädt
Remove(DesignerActionList) |
Entfernt die angegebene Smarttagliste aus allen vom aktuellen Dienst verwalteten Komponenten.Removes the specified smart tag list from all components managed by the current service. |
Remove(IComponent) |
Entfernt alle der angegebenen Komponente zugeordneten Smarttaglisten.Removes all the smart tag lists associated with the specified component. |
Remove(IComponent, DesignerActionList) |
Entfernt die angegebene Smarttagliste aus der angegebenen Komponente.Removes the specified smart tag list from the specified component. |
Remove(DesignerActionList)
Entfernt die angegebene Smarttagliste aus allen vom aktuellen Dienst verwalteten Komponenten.Removes the specified smart tag list from all components managed by the current service.
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)
Parameter
- actionList
- DesignerActionList
Die zu entfernende Liste mit Smarttags.The list of smart tags to be removed.
Ausnahmen
actionList
ist null
.actionList
is null
.
Hinweise
Diese Version der- Remove Methode wird in der Regel von Entwurfs Tool Entwicklern verwendet, da Komponenten Entwickler in der Regel nicht wissen, welche anderen Komponenten im aktuellen Entwurfs Bereich vorhanden sind.This version of the Remove method is typically used by design tool developers, because component developers typically do not know what other components exist in the current design space.
Bei erfolgreicher Ausführung löst diese Methode das- DesignerActionListsChanged Ereignis aus.If successful, this method raises the DesignerActionListsChanged event.
Siehe auch
- Add
- HideUI(IComponent)
- Clear()
- Designerbefehle und das DesignerAction-Objektmodell für Windows FormsDesigner Commands and the DesignerAction Object Model for Windows Forms
Gilt für:
Remove(IComponent)
Entfernt alle der angegebenen Komponente zugeordneten Smarttaglisten.Removes all the smart tag lists associated with the specified component.
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)
Parameter
- comp
- IComponent
Die Komponente, deren Zuordnung zu den Smarttags aufgehoben werden soll.The component to disassociate the smart tags from.
Ausnahmen
comp
ist null
.comp
is null
.
Hinweise
Bei erfolgreicher Ausführung löst die- Remove Methode das- DesignerActionListsChanged Ereignis aus.If successful, the Remove method raises the DesignerActionListsChanged event.
Siehe auch
- Add
- HideUI(IComponent)
- Clear()
- Designerbefehle und das DesignerAction-Objektmodell für Windows FormsDesigner Commands and the DesignerAction Object Model for Windows Forms
Gilt für:
Remove(IComponent, DesignerActionList)
Entfernt die angegebene Smarttagliste aus der angegebenen Komponente.Removes the specified smart tag list from the specified component.
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)
Parameter
- comp
- IComponent
Die Komponente, deren Zuordnung zu den Smarttags aufgehoben werden soll.The component to disassociate the smart tags from.
- actionList
- DesignerActionList
Die zu entfernende Smarttagliste.The smart tag list to remove.
Ausnahmen
Ein oder beide Parameter sind null
.One or both of the parameters are null
.
Hinweise
Bei erfolgreicher Ausführung löst die- Remove Methode das- DesignerActionListsChanged Ereignis aus.If successful, the Remove method raises the DesignerActionListsChanged event.
Siehe auch
- Add
- HideUI(IComponent)
- Clear()
- Designerbefehle und das DesignerAction-Objektmodell für Windows FormsDesigner Commands and the DesignerAction Object Model for Windows Forms