RemoveItem
Previous  Next

Removes an item from the collection.
Syntax: RemoveItem (Index As Int32)
Index - The index of the item.

Example:
'PimCol is a PimCollection object.
Sub Globals
      
End Sub

Sub App_Start
      Form1.Show
      PimCol.New1("tasks")
      i = PimCol.FindItem("Subject","Start a diet")
      if i = -1 then
            msgbox("No match was found.")
      else
            PimCol.RemoveItem(i)
      end if
End Sub