Share via


WorkItemTypeCatalogService.CreateEachWorkItem Generic Method (WorkItem, Generic Action)

See CreateEachWorkItem(WorkItem,Generic Action) for more information.

Namespace: Microsoft.Practices.CompositeUI.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Sub CreateEachWorkItem(Of TWorkItem) ( _
    parentWorkItem As WorkItem, _
    action As Action(Of TWorkItem) _
)
'Usage
Dim instance As WorkItemTypeCatalogService
Dim parentWorkItem As WorkItem
Dim action As Action(Of TWorkItem)

instance.CreateEachWorkItem(parentWorkItem, action)
public void CreateEachWorkItem<TWorkItem> (
    WorkItem parentWorkItem,
    Action<TWorkItem> action
)
public:
generic<typename TWorkItem>
virtual void CreateEachWorkItem (
    WorkItem^ parentWorkItem, 
    Action<TWorkItem>^ action
) sealed
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.

Parameters

  • parentWorkItem
  • action

See Also

Reference

WorkItemTypeCatalogService Class
WorkItemTypeCatalogService Members
Microsoft.Practices.CompositeUI.Services Namespace