MonobjcMonobjc Documented Class Library
ExpressionForKeyPath Method (keyPath)
NamespacesMonobjc.FoundationNSExpressionExpressionForKeyPath(NSString)

Returns a new expression that invokes valueForKeyPath: with a given key path.

Original signature is '+ (NSExpression *)expressionForKeyPath:(NSString *)keyPath'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSExpression ExpressionForKeyPath(
	NSString keyPath
)
Public Shared Function ExpressionForKeyPath ( _
	keyPath As NSString _
) As NSExpression
public:
static NSExpression^ ExpressionForKeyPath(
	NSString^ keyPath
)
Parameters
keyPath (NSString)
The key path that the new expression should evaluate.
Return Value
A new expression that invokes valueForKeyPath: with 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)