MonobjcMonobjc Documented Class Library
ObjectForKey Method (aKey)
NamespacesMonobjc.FoundationNSDictionaryObjectForKey(Id)

Returns the value associated with a given key.

Original signature is '- (id)objectForKey:(id)aKey'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ObjectForKey(
	Id aKey
)
Public Overridable Function ObjectForKey ( _
	aKey As Id _
) As Id
public:
virtual Id^ ObjectForKey(
	Id^ aKey
)
Parameters
aKey (Id)
The key for which to return the corresponding value.
Return Value
The value associated with aKey, or nil if no value is associated with aKey.
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)