The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Expression::Field Method (Expression^, Type^, String^)
.NET Framework (current version)
Creates a MemberExpression that represents accessing a field.
Assembly: System.Core (in System.Core.dll)
public: static MemberExpression^ Field( Expression^ expression, Type^ type, String^ fieldName )
Parameters
- expression
-
Type:
System.Linq.Expressions::Expression^
The containing object of the field. This can be null for static fields.
- type
-
Type:
System::Type^
The Type that contains the field.
- fieldName
-
Type:
System::String^
The field 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: