MonobjcMonobjc Documented Class Library
ObjectForKey Method (key)
NamespacesMonobjc.FoundationNSCacheObjectForKey(Id)

Returns the value associated with a given key.

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

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ObjectForKey(
	Id key
)
Public Overridable Function ObjectForKey ( _
	key As Id _
) As Id
public:
virtual Id^ ObjectForKey(
	Id^ key
)
Parameters
key (Id)
An object identifying the value.
Return Value
The value associated with key, or NULL if no value is associated with key. The caller does not have to release the value returned to it.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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