System.Linq.Expressions.MethodCallExpression Class

Represents a call to either static or an instance method.

See Also: MethodCallExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/MethodCallExpressionProxy))]
public class MethodCallExpression : Expression, IArgumentProvider

Remarks

Use the erload:System.Linq.Expressions.Expression.Call, Expression.ArrayIndex(Expression, IEnumerable<Expression>), or Expression.ArrayIndex(Expression, Expression[]) factory method to create a System.Linq.Expressions.MethodCallExpression.

The value of the Expression.NodeType property of a System.Linq.Expressions.MethodCallExpression object is ExpressionType.Call.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0