Editare

Partajați prin


DesignerActionService.Remove Method

Definition

Disassociates one or more smart tag lists from one or more components.

Overloads

Remove(DesignerActionList)

Removes the specified smart tag list from all components managed by the current service.

Remove(IComponent)

Removes all the smart tag lists associated with the specified component.

Remove(IComponent, DesignerActionList)

Removes the specified smart tag list from the specified component.

Remove(DesignerActionList)

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)

Parameters

actionList
DesignerActionList

The list of smart tags to be removed.

Exceptions

actionList is null.

Remarks

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.

If successful, this method raises the DesignerActionListsChanged event.

See also

Applies to

Remove(IComponent)

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)

Parameters

comp
IComponent

The component to disassociate the smart tags from.

Exceptions

comp is null.

Remarks

If successful, the Remove method raises the DesignerActionListsChanged event.

See also

Applies to

Remove(IComponent, DesignerActionList)

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)

Parameters

comp
IComponent

The component to disassociate the smart tags from.

actionList
DesignerActionList

The smart tag list to remove.

Exceptions

One or both of the parameters are null.

Remarks

If successful, the Remove method raises the DesignerActionListsChanged event.

See also

Applies to