Skip to content

M_CodeJam_Reflection_InfoOf_Field__1_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

InfoOf.Field(T) Method (Expression(Func(T, Object)))

Returns the field.

Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static FieldInfo Field<T>(
	Expression<Func<T, Object>> expression
)

VB

Public Shared Function Field(Of T) ( 
	expression As Expression(Of Func(Of T, Object))
) As FieldInfo

F#

static member Field : 
        expression : Expression<Func<'T, Object>> -> FieldInfo 

Parameters

 

expression
Type: System.Linq.Expressions.Expression(Func(T, Object))
The expression to analyze.

Type Parameters

 

T
[Missing documentation for "M:CodeJam.Reflection.InfoOf.Field1(System.Linq.Expressions.Expression{System.Func{0,System.Object}})"]

Return Value

Type: FieldInfo
The FieldInfo instance.

See Also

Reference

InfoOf Class
Field Overload
CodeJam.Reflection Namespace

Clone this wiki locally