Remove

IPortionCollection.Remove method

Removes the first occurrence of a specific object from the ICollection.

public bool Remove(IPortion item)
Parameter Type Description
item IPortion The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

exception condition
NotSupportedException The ICollection is read-only.

See Also