Expression.Property Method (Expression, Type, String)
.NET Framework (current version)
Creates a MemberExpression accessing a property.
Assembly: System.Core (in System.Core.dll)
Public Shared Function Property ( expression As Expression, type As Type, propertyName As String ) As MemberExpression
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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: