WorkItems: adding/removing value types

Topics: General discussion
Jan 13, 2009 at 12:56 PM
I use value types within WorkItems-Collection like following:

workItem.Items.Add("integer1", 1);
workItem.Items.Add("integer2", 1);
workItem.Items.Remove(workItem.Items("integer2"));

here I expect only "integer2" to be removed, but both of them are removed.
This happens only using the same values.

Why does it happen and can I avoid such behaviour?


Jan 14, 2009 at 8:23 AM
Sorry but are you referring to any entlib block?


Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@avanade.com