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)

Source:
DesignerActionService.cs
Source:
DesignerActionService.cs
Source:
DesignerActionService.cs

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

C#
public void Remove(System.ComponentModel.Design.DesignerActionList actionList);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Remove(IComponent)

Source:
DesignerActionService.cs
Source:
DesignerActionService.cs
Source:
DesignerActionService.cs

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

C#
public void Remove(System.ComponentModel.IComponent comp);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Remove(IComponent, DesignerActionList)

Source:
DesignerActionService.cs
Source:
DesignerActionService.cs
Source:
DesignerActionService.cs

Removes the specified smart tag list from the specified component.

C#
public void Remove(System.ComponentModel.IComponent comp, System.ComponentModel.Design.DesignerActionList actionList);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10