DesignerActionService.GetComponentActions Method (IComponent, ComponentActionsType)
Assembly: System.Design (in system.design.dll)
public: virtual DesignerActionListCollection^ GetComponentActions ( IComponent^ component, ComponentActionsType type )
public DesignerActionListCollection GetComponentActions ( IComponent component, ComponentActionsType type )
public function GetComponentActions ( component : IComponent, type : ComponentActionsType ) : DesignerActionListCollection
Not applicable.
Parameters
- component
The component that the smart tags are associated with.
- type
The ComponentActionsType to filter the associated smart tags with.
Return Value
The collection of smart tags of the specified type for the specified component.This version of the overloaded GetComponentActions method filters on the type parameter, which can have one of the following values.
| Value | Description |
|---|---|
| All associated smart tags. | |
| Pull-model smart tags only. | |
| Push-model smart tags only. |
If the associated designer for a component does not supply a pull-model smart tag list, then the GetComponentActions method will instead use the designer's design-time shortcut menu items from the Verbs property.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Reference
DesignerActionService ClassDesignerActionService Members
System.ComponentModel.Design Namespace
GetComponentDesignerActions
GetComponentServiceActions
System.ComponentModel.Design.DesignerActionListCollection
System.ComponentModel.Design.DesignerVerb
System.ComponentModel.Design.ComponentActionsType