DesignerActionService.GetComponentServiceActions Method

Retrieves the push-model smart tags associated with a component.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

protected:
virtual void GetComponentServiceActions (
	IComponent^ component, 
	DesignerActionListCollection^ actionLists
)
protected void GetComponentServiceActions (
	IComponent component, 
	DesignerActionListCollection actionLists
)
protected function GetComponentServiceActions (
	component : IComponent, 
	actionLists : DesignerActionListCollection
)
Not applicable.

Parameters

component

The component that the smart tags are associated with.

actionLists

The collection to add the associated smart tags to.

Exception typeCondition

ArgumentNullException

One or both of the parameters are a null reference (Nothing in Visual Basic).

The GetComponentServiceActions method is a helper method for the GetComponentActions methods. It searches for push-model smart tags of type Service, and then adds these to the supplied actionLists collection.

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.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: