Expression.Call Method (MethodInfo, IEnumerable(Of Expression))
.NET Framework (current version)
Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method.
Assembly: System.Core (in System.Core.dll)
Public Shared Function Call ( method As MethodInfo, arguments As IEnumerable(Of Expression) ) As MethodCallExpression
Parameters
- method
-
Type:
System.Reflection.MethodInfo
The MethodInfo that represents the target method.
- arguments
-
Type:
System.Collections.Generic.IEnumerable(Of Expression)
A collection of Expression that represents the call arguments.
Return Value
Type: System.Linq.Expressions.MethodCallExpressionA 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
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: