MonobjcMonobjc Documented Class Library
Remove Method (key)
NamespacesMonobjc.FoundationNSDictionaryRemove(Id)
Removes the element with the specified key from the IDictionary<(Of <(<'TKey, TValue>)>)>.
Declaration Syntax
C#Visual BasicVisual C++
public virtual bool Remove(
	Id key
)
Public Overridable Function Remove ( _
	key As Id _
) As Boolean
public:
virtual bool Remove(
	Id^ key
)
Parameters
key (Id)
The key of the element to remove.
Return Value
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary<(Of <(<'TKey, TValue>)>)>.
Exceptions
ExceptionCondition
NotSupportedExceptionThe IDictionary<(Of <(<'TKey, TValue>)>)> is read-only.
ArgumentNullExceptionkey is null.
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)