Aracılığıyla paylaş


ExpressionExtensions.GetPropertyAccess(LambdaExpression) Yöntem

Tanım

basit bir özellik erişim ifadesiyle temsil edileni PropertyInfo alı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.

Açıklamalar

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

Şunlara uygulanır