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

Returns the object corresponding to the specified key.

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

Available in Mac OS X v10.4 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)
The key for which to return the corresponding value. For valid values of key, see “Constants.”
Return Value
The object corresponding to key.
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)