Property Method (Expression, PropertyInfo, Expression[])

Expression.Property Method (Expression, PropertyInfo, Expression())

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates an IndexExpression representing the access to an indexed property.

Namespace:  System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Shared Function Property ( _
	instance As Expression, _
	indexer As PropertyInfo, _
	ParamArray arguments As Expression() _
) As IndexExpression

Parameters

instance
Type: System.Linq.Expressions.Expression
The object to which the property belongs. If the property is static/shared, it must be null.
indexer
Type: System.Reflection.PropertyInfo
The PropertyInfo that represents the property to index.
arguments
Type: System.Linq.Expressions.Expression ()
An array of Expression objects that are used to index the property.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft