remove method

remove

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.

Returns

true if item was successfully removed from the System.Collections.Generic.ICollection1**; otherwise, false. This method also returns false if item is not found in the original **System.Collections.Generic.ICollection1.

def remove(self, item):
    ...
ParameterTypeDescription
itemIPortionThe object to remove from the System.Collections.Generic.ICollection`1.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(NotSupportedException))The System.Collections.Generic.ICollection`1 is read-only.

See Also