设置ItemProperties要注意,我找了半天才找对地方.
转载地址:
http://blog.csdn.net/gdsongrenjun/article/details/6754166
- Right click on the CreateItemActivity property in the designer.
- Select Bind Property 'ItemProperties'.
- Create a new member for this property (e.g. itemProperties).
- Click OK to close the dialog.
- Double click onWorkflowActivated1 activity (we are going to use this activity to setup the item properties).
- Once in code view add the following code:
itemProperties = new Hashtable ();
itemProperties.Add("Title", "My New Item Title");