Share via


DesignerActionService.GetComponentServiceActions Methode

Definition

Ruft die einer Komponente zugeordneten Pushmodellsmarttags ab.

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)

Parameter

component
IComponent

Die Komponente, der die Smarttags zugeordnet sind.

actionLists
DesignerActionListCollection

Die Auflistung, der die zugeordneten Smarttags hinzugefügt werden sollen.

Ausnahmen

Ein oder beide Parameter sind null.

Hinweise

Die GetComponentServiceActions -Methode ist eine Hilfsmethode für die GetComponentActions Methoden. Es sucht nach Pushmodell-Smarttags vom Typ Serviceund fügt diese dann der angegebenen actionLists Auflistung hinzu.

Gilt für:

Weitere Informationen