Remove the object from the collection. If the AllowDeleteObjects option is set then the object is also deleted.
Note that the comparison for searching for the object in collection is made by pointer, not by value. Thus the parameter must point to the same instance of the object that is in the collection.
Referenced by PSafeCollection::SafeRemove().