Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.

C# | Visual Basic | Visual C++ |
public override bool Remove( NSUInteger item )
Public Overrides Function Remove ( _ item As NSUInteger _ ) As Boolean
public: virtual bool Remove( NSUInteger item ) override

- item (NSUInteger)
- The object to remove from the ICollection<(Of <(<'T>)>)>.

true if item was successfully removed from the ICollection<(Of <(<'T>)>)>; otherwise, false. This method also returns false if item is not found in the original ICollection<(Of <(<'T>)>)>.

Exception | Condition |
---|---|
NotSupportedException | The ICollection<(Of <(<'T>)>)> is read-only. |

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)