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.

C# | Visual Basic | Visual C++ |
public static NSExpression ExpressionForKeyPath( NSString keyPath )
Public Shared Function ExpressionForKeyPath ( _ keyPath As NSString _ ) As NSExpression
public: static NSExpression^ ExpressionForKeyPath( NSString^ keyPath )

- keyPath (NSString)
- The key path that the new expression should evaluate.

A new expression that invokes valueForKeyPath: with keyPath.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)