Determines whether the current smart tag service manages the action lists for the specified component.
- comp
- The System.ComponentModel.IComponent to search for.
true if the component is managed by the current service; otherwise, false.
The DesignerActionService.Contains(System.ComponentModel.IComponent) method only recognizes push-model smart tags, which are associated to a component with the erload:System.ComponentModel.Design.DesignerActionService.Add method.
Although there is no structural limitation on the number of concurrent System.ComponentModel.Design.DesignerActionService instances created by a design-time tool, typically only a single instance of the service is created per design surface.