MonobjcMonobjc Documented Class Library
ContainsKey Method (key)
NamespacesMonobjc.FoundationNSDictionaryContainsKey(Id)
Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key.
Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ContainsKey(
	Id key
)
Public Overridable Function ContainsKey ( _
	key As Id _
) As Boolean
public:
virtual bool ContainsKey(
	Id^ key
)
Parameters
key (Id)
The key to locate in the IDictionary<(Of <(<'TKey, TValue>)>)>.
Return Value
true if the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the key; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
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)