DesignerActionService.GetComponentDesignerActions Metoda

Definicja

Pobiera tagi inteligentne modelu ściągania skojarzone ze składnikiem.

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)

Parametry

component
IComponent

Składnik skojarzony z tagami inteligentnymi.

actionLists
DesignerActionListCollection

Kolekcja do dodawania skojarzonych tagów inteligentnych.

Wyjątki

Jeden lub oba parametry to null.

Uwagi

Metoda GetComponentDesignerActions jest metodą pomocnika dla GetComponentActions metod. GetComponentDesignerActions wyszukuje tagi Componentinteligentne typu pull-model, a następnie dodaje je do dostarczonej actionLists kolekcji.

Jeśli deweloper składnika nie dostarcza jawnie kolekcji tagów inteligentnych za pośrednictwem ActionLists właściwości projektanta, ta metoda ponownie użyje wpisów menu skrótów czasu projektowania, które są uzyskiwane za pośrednictwem Verbs właściwości projektanta.

Dotyczy

Zobacz też