Expression::Property Method (Expression^, Type^, String^)
.NET Framework (current version)
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.
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: