System.Linq.Expressions.MemberExpression Class

Represents accessing a field or property.

See Also: MemberExpression Members

Syntax

[System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/MemberExpressionProxy))]
public class MemberExpression : Expression

Remarks

Use the erload:System.Linq.Expressions.Expression.Field, erload:System.Linq.Expressions.Expression.Property or Expression.PropertyOrField(Expression, string) factory methods to create a System.Linq.Expressions.MemberExpression.

The value of the Expression.NodeType property of a System.Linq.Expressions.MemberExpression is ExpressionType.MemberAccess.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0