Edit

Share via


DesignerActionService.GetComponentDesignerActions Method

Definition

Retrieves the pull-model smart tags associated with a component.

protected:
 virtual void GetComponentDesignerActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::DesignerActionListCollection ^ actionLists);
protected virtual void GetComponentDesignerActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);
abstract member GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
override this.GetComponentDesignerActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
Protected Overridable Sub GetComponentDesignerActions (component As IComponent, actionLists As DesignerActionListCollection)

Parameters

component
IComponent

The component that the smart tags are associated with.

actionLists
DesignerActionListCollection

The collection to add the associated smart tags to.

Exceptions

One or both of the parameters are null.

Remarks

The GetComponentDesignerActions method is a helper method for the GetComponentActions methods. GetComponentDesignerActions searches for pull-model smart tags of type Component, and then adds these to the supplied actionLists collection.

If the component's developer does not explicitly supply a collection of smart tags through the ActionLists property of its designer, this method will reuse the design-time shortcut menu entries, which are obtained through the Verbs property of the designer.

Applies to

See also