September 2010
Intermediate to advanced
272 pages
5h 16m
English
In this task, we will use the AddToCollection<T> activity to add items to a collection object.
We need to make sure we have finished the task of Printing collection items for us to be able to use the CollectionPrinterActivity activity in this task.
Create a new Workflow Console Application and name it UsingAddToCollectionActivity.
We need to perform the following actions:
Workflow1.xaml file that is created by default. Click the Imports button and type in System.Collections.ObjectModel to import the System.Collections.ObjectModel namespace to this workflow.