Skip to content

M_CodeJam_Reflection_InfoOf_Field__2

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

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

Returns the field.

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

Syntax

C#

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

VB

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

F#

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

Parameters

 

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

Type Parameters

 

T
[Missing documentation for "M:CodeJam.Reflection.InfoOf.Field2(System.Linq.Expressions.Expression{System.Func{0,1}})"\]</dd><dt>TValue</dt><dd>\[Missing <typeparam name="TValue"/> documentation for "M:CodeJam.Reflection.InfoOf.Field2(System.Linq.Expressions.Expression{System.Func{0,1}})"]

Return Value

Type: FieldInfo
The FieldInfo instance.

See Also

Reference

InfoOf Class
Field Overload
CodeJam.Reflection Namespace

Clone this wiki locally