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


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

static member Call : 
        method:MethodInfo *
        arguments:IEnumerable<Expression> -> MethodCallExpression


Type: System.Reflection.MethodInfo

The MethodInfo that represents the target method.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top