MonobjcMonobjc Documented Class Library
ValueForKey Method (key)

Returns the value for the property identified by a given key.

Original signature is '- (id)valueForKey:(NSString *)key'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ValueForKey(
	NSString key
Public Overridable Function ValueForKey ( _
	key As NSString _
) As Id
virtual Id^ ValueForKey(
	NSString^ key
key (NSString)
The name of one of the receiver's properties.
Return Value
The value for the property identified by 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)