Returns a new expression that extracts a value from the variable bindings dictionary for a given key.
Original signature is '+ (NSExpression *)expressionForVariable:(NSString *)string'
Available in Mac OS X v10.4 and later.

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

- string (NSString)
- The key for the variable to extract from the variable bindings dictionary.

A new expression that extracts from the variable bindings dictionary the value for the key string.

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