Skip to content

M_CodeJam_Reflection_InfoOf_Property__2

andrewvk edited this page Apr 7, 2016 · 5 revisions

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

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

Returns the property.

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

Syntax

C#

public static PropertyInfo Property<T, TValue>(
	Expression<Func<T, TValue>> expression
)

VB

Public Shared Function Property(Of T, TValue) ( 
	expression As Expression(Of Func(Of T, TValue))
) As PropertyInfo

F#

static member Property : 
        expression : Expression<Func<'T, 'TValue>> -> PropertyInfo 

Parameters

 

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

Type Parameters

 

T
TValue

Return Value

Type: PropertyInfo
The PropertyInfo instance.

See Also

Reference

InfoOf Class
Property Overload
CodeJam.Reflection Namespace

Clone this wiki locally