Sprache

ExpressionExtensions.GetPropertyAccess(LambdaExpression) Methode

Definition

Ruft die PropertyInfo dargestellt durch einen einfachen Eigenschaftszugriffsausdruck ab.

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

Parameter

propertyAccessExpression
LambdaExpression

Der Ausdruck.

Gibt zurück

Die PropertyInfo.

Hinweise

Diese Methode wird in der Regel zum Analysieren des Eigenschaftenzugriffs von Fluent-APIs verwendet.

Gilt für: