Expression.Property Method (Expression, Type, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a MemberExpression accessing a property.
Assembly: System.Core (in System.Core.dll)
public static MemberExpression Property( Expression expression, Type type, string propertyName )
Parameters
- expression
- Type: System.Linq.Expressions.Expression
The containing object of the property. This can be null for static properties.
- type
- Type: System.Type
The Type that contains the property.
- propertyName
- Type: System.String
The property to be accessed.
Show: