Skip to content

M_CodeJam_Reflection_InfoOf_1_Property__1

andrewvk edited this page Mar 30, 2016 · 8 revisions

InfoOf(T).Property(TValue) Method

[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#

[NotNullAttribute]
[PureAttribute]
public static PropertyInfo Property<TValue>(
	[NotNullAttribute] Expression<Func<T, TValue>> expression
)

VB

<NotNullAttribute>
<PureAttribute>
Public Shared Function Property(Of TValue) ( 
	<NotNullAttribute> expression As Expression(Of Func(Of T, TValue))
) As PropertyInfo

F#

[<NotNullAttribute>]
[<PureAttribute>]
static member Property : 
        [<NotNullAttribute>] expression : Expression<Func<'T, 'TValue>> -> PropertyInfo 

Parameters

 

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

Type Parameters

 

TValue

Return Value

Type: PropertyInfo
The PropertyInfo instance.

See Also

Reference

InfoOf(T) Class
CodeJam.Reflection Namespace

Clone this wiki locally