Skip to content

M_CodeJam_Reflection_InfoOf_Field__1

andrewvk edited this page Apr 5, 2016 · 9 revisions

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

[This is preliminary documentation and is subject to change.]

Returns the field.

Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.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

Return Value

Type: FieldInfo
The FieldInfo instance.

See Also

Reference

InfoOf Class
Field Overload
CodeJam.Reflection Namespace

Clone this wiki locally