DesignerActionService.GetComponentDesignerActions Metoda

Definice

Načte inteligentní značky modelu pro vyžádání změn přidružené ke komponentě.

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

Komponenta, ke které jsou inteligentní značky přidruženy.

actionLists
DesignerActionListCollection

Kolekce, do které chcete přidat přidružené inteligentní značky.

Výjimky

Jeden nebo oba parametry jsou null.

Poznámky

Metoda GetComponentDesignerActions je pomocnou metodou pro metody GetComponentActions . GetComponentDesignerActions vyhledá inteligentní značky modelu pro vyžádání obsahu typu Componenta pak je přidá do zadané actionLists kolekce.

Pokud vývojář komponenty explicitně nezadá kolekci inteligentních značek prostřednictvím ActionLists vlastnosti návrháře, tato metoda znovu použije položky místní nabídky návrhu, které jsou získány prostřednictvím Verbs vlastnosti návrháře.

Platí pro

Viz také