MethodCallExpression.Object Property

Definition

Gets the Expression that represents the instance for instance method calls or null for static method calls.

public:
 property System::Linq::Expressions::Expression ^ Object { System::Linq::Expressions::Expression ^ get(); };
public System.Linq.Expressions.Expression Object { get; }
public System.Linq.Expressions.Expression? Object { get; }
member this.Object : System.Linq.Expressions.Expression
Public ReadOnly Property Object As Expression

Property Value

An Expression that represents the receiving object of the method.

Remarks

If a MethodCallExpression object's Method property represents a static (Shared in Visual Basic) method, the Object property is null.

Applies to