I have a dll I wrote with a collection of items of type item. I want to create a form in the dll that will popup if someone tries to add a property to item that is unique so that they see the item that conflicts with the one they are adding. how can i set a collection to the collection myApp uses in order to reference the same items?

Example:


VB Code:
  1. dim myItems as Items
  2. dim myItem as Item
  3.  
  4.  
  5. set myItem = myItems.Add("<YourItemHere>")
  6.  
  7. 'check if myItems collection already has a "<YourItemHere>"