MonobjcMonobjc Documented Class Library
ValueForKeyPath Method (keyPath)

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

Original signature is '- (id)valueForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ValueForKeyPath(
	NSString keyPath
Public Overridable Function ValueForKeyPath ( _
	keyPath As NSString _
) As Id
virtual Id^ ValueForKeyPath(
	NSString^ keyPath
keyPath (NSString)
A key path of the form (with one or more relationships); for example “” or “department.manager.lastName”.
Return Value
The value for the derived property identified by keyPath.
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)