-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Expressions_ExpressionExtensions_GetPropertyName
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Returns a name of the property.
Namespace: CodeJam.Expressions
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static string GetPropertyName(
this LambdaExpression expression
)
VB
<ExtensionAttribute>
Public Shared Function GetPropertyName (
expression As LambdaExpression
) As String
F#
[<ExtensionAttribute>]
static member GetPropertyName :
expression : LambdaExpression -> string
- expression
- Type: System.Linq.Expressions.LambdaExpression
The expression to analyze.
Type: String
A name of the property.
In Visual Basic and C#, you can call this method as an instance method on any object of type LambdaExpression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).