Version

BuildPropertyExpressionFromPropertyName(String,ParameterExpression,CachedTypedInfo,Type,Object) Method

Builds a System.Linq.Expressions.Expression for complex property names such as Address.Street1 or Items[FirstName]
Syntax
'Declaration
 
Public Overloads Shared Function BuildPropertyExpressionFromPropertyName( _
   ByVal propertyName As String, _
   ByVal paramExpression As ParameterExpression, _
   ByVal cachedTypedInfo As CachedTypedInfo, _
   ByVal propertyType As Type, _
   ByVal defaultValue As Object _
) As Expression
public static Expression BuildPropertyExpressionFromPropertyName( 
   string propertyName,
   ParameterExpression paramExpression,
   CachedTypedInfo cachedTypedInfo,
   Type propertyType,
   object defaultValue
)

Parameters

propertyName
paramExpression
cachedTypedInfo
propertyType
defaultValue
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also