Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Call Method (MethodInfo, IEnumerable(Expression))

Expression.Call Method (MethodInfo, IEnumerable<Expression>)

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

public static MethodCallExpression Call(
	MethodInfo method,
	IEnumerable<Expression> arguments
)

Parameters

method
Type: System.Reflection.MethodInfo
The MethodInfo that represents the target method.
arguments
Type: System.Collections.Generic.IEnumerable<Expression>
A collection of Expression that represents the call arguments.

Return Value

Type: System.Linq.Expressions.MethodCallExpression
A MethodCallExpression that has the NodeType property equal to Call and the Object and Method properties set to the specified values.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft