Sdílet prostřednictvím


DesignerActionService.GetComponentActions Metoda

Definice

Vrátí kolekci seznamů položek inteligentních značek přidružených ke komponentě.

Přetížení

Name Description
GetComponentActions(IComponent)

Vrátí kolekci seznamů položek inteligentních značek přidružených ke komponentě.

GetComponentActions(IComponent, ComponentActionsType)

Vrátí kolekci seznamů položek inteligentních značek zadaného typu přidruženého ke komponentě.

GetComponentActions(IComponent, ComponentActionsType)

Vrátí kolekci seznamů položek akcí návrháře zadaného typu přidruženého ke komponentě.

GetComponentActions(IComponent)

Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs

Vrátí kolekci seznamů položek inteligentních značek přidružených ke komponentě.

public:
 System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component);
member this.GetComponentActions : System.ComponentModel.IComponent -> System.ComponentModel.Design.DesignerActionListCollection
Public Function GetComponentActions (component As IComponent) As DesignerActionListCollection

Parametry

component
IComponent

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

Návraty

Kolekce inteligentních značek pro zadanou komponentu.

Výjimky

component je null.

Poznámky

Metoda GetComponentActions je ekvivalentní volání GetComponentActions(IComponent, ComponentActionsType) metody pomocí type parametru All. Vrácená kolekce proto bude obsahovat jak nabízené, tak i pull seznamy inteligentních značek.

Vrácené DesignerActionListCollection je sjednocení seznamů položek přidaných metodami Add a také seznamy získané z instance získané z DesignerCommandSet lokality komponenty.

Viz také

Platí pro

GetComponentActions(IComponent, ComponentActionsType)

Vrátí kolekci seznamů položek inteligentních značek zadaného typu přidruženého ke komponentě.

public:
 virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, System.ComponentModel.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.ComponentModel.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection

Parametry

component
IComponent

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

type
ComponentActionsType

Filtrování ComponentActionsType přidružených inteligentních značek

Návraty

Kolekce inteligentních značek zadaného typu pro zadanou součást.

Výjimky

component je null.

Poznámky

Tato verze přetížené GetComponentActions metody filtruje parametr type , který může mít jednu z následujících hodnot.

Hodnota Description
All Všechny přidružené inteligentní značky.
Component Pouze inteligentní značky modelu vyžádané replikace
Service Jenom inteligentní značky push-model.

Pokud přidružený návrhář pro komponentu neposkytuje seznam inteligentních značek modelu pull-model, GetComponentActions použije metoda místo toho položky místní nabídky návrháře návrhu z Verbs vlastnosti.

Viz také

Platí pro

GetComponentActions(IComponent, ComponentActionsType)

Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs
Zdroj:
DesignerActionService.cs

Vrátí kolekci seznamů položek akcí návrháře zadaného typu přidruženého ke komponentě.

public:
 virtual System::ComponentModel::Design::DesignerActionListCollection ^ GetComponentActions(System::ComponentModel::IComponent ^ component, System::Windows::Forms::Design::ComponentActionsType type);
public virtual System.ComponentModel.Design.DesignerActionListCollection GetComponentActions(System.ComponentModel.IComponent component, System.Windows.Forms.Design.ComponentActionsType type);
abstract member GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
override this.GetComponentActions : System.ComponentModel.IComponent * System.Windows.Forms.Design.ComponentActionsType -> System.ComponentModel.Design.DesignerActionListCollection
Public Overridable Function GetComponentActions (component As IComponent, type As ComponentActionsType) As DesignerActionListCollection

Parametry

component
IComponent

Komponenta, ke které jsou přidruženy DesignerActions.

type
ComponentActionsType

Chcete-li ComponentActionsType filtrovat přidružené akce návrháře s.

Návraty

Kolekce akcí návrháře zadaného typu pro zadanou součást.

Výjimky

component je null.

Poznámky

Tato verze přetížené GetComponentActions metody filtruje parametr type , který může mít jednu z následujících hodnot.

Hodnota Description
All Všechny přidružené akce návrháře.
Component Akce návrháře modelu vyžádané replikace
Service Akce návrháře modelů nabízených oznámení

Pokud přidružený návrhář pro komponentu neposkytuje seznam akcí návrháře modelu pro vyžádání změn, GetComponentActions použije metoda místo toho položky místní nabídky návrháře návrhu z Verbs vlastnosti.

Platí pro