Returns a new expression that represents a given constant value.
Original signature is '+ (NSExpression *)expressionForConstantValue:(id)obj'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSExpression ExpressionForConstantValue( Id obj )
Public Shared Function ExpressionForConstantValue ( _ obj As Id _ ) As NSExpression
public: static NSExpression^ ExpressionForConstantValue( Id^ obj )
Parameters
- obj (Id)
- The constant value the new expression is to represent.
Return Value
A new expression that represents the constant value, obj.
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)