MonobjcMonobjc Documented Class Library
ExpressionForFunctionSelectorNameArguments Method (target, name, parameters)
NamespacesMonobjc.FoundationNSExpressionExpressionForFunctionSelectorNameArguments(NSExpression, NSString, NSArray)

Returns an expression which will return the result of invoking on a given target a selector with a given name using given arguments.

Original signature is '+ (NSExpression *)expressionForFunction:(NSExpression *)target selectorName:(NSString *)name arguments:(NSArray *)parameters'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSExpression ExpressionForFunctionSelectorNameArguments(
	NSExpression target,
	NSString name,
	NSArray parameters
)
Public Shared Function ExpressionForFunctionSelectorNameArguments ( _
	target As NSExpression, _
	name As NSString, _
	parameters As NSArray _
) As NSExpression
public:
static NSExpression^ ExpressionForFunctionSelectorNameArguments(
	NSExpression^ target, 
	NSString^ name, 
	NSArray^ parameters
)
Parameters
target (NSExpression)
An NSExpression object which will evaluate an object on which the selector identified by name may be invoked.
name (NSString)
The name of the method to be invoked.
parameters (NSArray)
An array containing NSExpression objects which can be evaluated to provide parameters for the method specified by name.
Return Value
An expression which will return the result of invoking the selector named name on the result of evaluating the target expression with the parameters specified by evaluating the elements of parameters.
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)