MonobjcMonobjc Documented Class Library
ValueForKeyPath Method (keyPath)
NamespacesMonobjc.FoundationNSObjectValueForKeyPath(NSString)

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
public:
virtual Id^ ValueForKeyPath(
	NSString^ keyPath
)
Parameters
keyPath (NSString)
A key path of the form relationship.property (with one or more relationships); for example “department.name” 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)