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 Shared Function Field ( expression As Expression, type As Type, fieldName As String ) As MemberExpression
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: