Share via


ExpressionExtensions.GetMemberAccess(LambdaExpression) Method

Definition

Gets the MemberInfo represented by a simple member-access expression.

public static System.Reflection.MemberInfo GetMemberAccess (this System.Linq.Expressions.LambdaExpression memberAccessExpression);
static member GetMemberAccess : System.Linq.Expressions.LambdaExpression -> System.Reflection.MemberInfo
<Extension()>
Public Function GetMemberAccess (memberAccessExpression As LambdaExpression) As MemberInfo

Parameters

memberAccessExpression
LambdaExpression

The expression.

Returns

The MemberInfo.

Remarks

This method is typically used to parse member access lambdas from fluent APIs.

Applies to