MonobjcMonobjc Documented Class Library
Remove Method (item)
NamespacesMonobjc.FoundationNSDictionaryRemove(KeyValuePair<(Of <<'(Id, Id>)>>))
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Declaration Syntax
C#Visual BasicVisual C++
public virtual bool Remove(
	KeyValuePair<Id, Id> item
)
Public Overridable Function Remove ( _
	item As KeyValuePair(Of Id, Id) _
) As Boolean
public:
virtual bool Remove(
	KeyValuePair<Id^, Id^> item
)
Parameters
item (KeyValuePair<(Of <(<'Id, Id>)>)>)
The object to remove from the ICollection<(Of <(<'T>)>)>.
Return Value
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>)>)>.
Exceptions
ExceptionCondition
NotSupportedExceptionThe ICollection<(Of <(<'T>)>)> is read-only.
NotSupportedExceptionThis instance is immutable
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)