Bewerken

Delen via


DesignerActionService.GetComponentServiceActions Method

Definition

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

protected:
 virtual void GetComponentServiceActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::DesignerActionListCollection ^ actionLists);
protected virtual void GetComponentServiceActions (System.ComponentModel.IComponent component, System.ComponentModel.Design.DesignerActionListCollection actionLists);
abstract member GetComponentServiceActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
override this.GetComponentServiceActions : System.ComponentModel.IComponent * System.ComponentModel.Design.DesignerActionListCollection -> unit
Protected Overridable Sub GetComponentServiceActions (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 GetComponentServiceActions method is a helper method for the GetComponentActions methods. It searches for push-model smart tags of type Service, and then adds these to the supplied actionLists collection.

Applies to

See also