ExpressionExtensions.GetPropertyAccess(LambdaExpression) Yöntem

Tanım

Basit PropertyInfo bir özellik erişim ifadesiyle temsil edilen 'i alır.

Bu yöntem genellikle fluent API'lerinden özellik erişimi lambdalarını ayrıştırmak için kullanılır.

public static System.Reflection.PropertyInfo GetPropertyAccess (this System.Linq.Expressions.LambdaExpression propertyAccessExpression);
static member GetPropertyAccess : System.Linq.Expressions.LambdaExpression -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetPropertyAccess (propertyAccessExpression As LambdaExpression) As PropertyInfo

Parametreler

propertyAccessExpression
LambdaExpression

İfade.

Döndürülenler

PropertyInfo

PropertyInfo.

Şunlara uygulanır