DesignerActionService.GetComponentDesignerActions Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Načte inteligentní značky modelu vyžádané replikace 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 pro přidání přidružených inteligentních značek.
Výjimky
Jeden nebo oba parametry jsou null.
Poznámky
Metoda GetComponentDesignerActions je pomocná metoda pro GetComponentActions metody.
GetComponentDesignerActions vyhledá inteligentní značky Componenttypu pull-model a pak je přidá do zadané actionLists kolekce.
Pokud vývojář komponenty explicitně neposkytuje kolekci inteligentních značek prostřednictvím ActionLists vlastnosti svého 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.