Utilities.GetMemberName<T>(Expression<Func<T>>) Method

Definition

Get the name of the member for memberExpression.

public static string GetMemberName<T> (System.Linq.Expressions.Expression<Func<T>> memberExpression);
static member GetMemberName : System.Linq.Expressions.Expression<Func<'T>> -> string
Public Function GetMemberName(Of T) (memberExpression As Expression(Of Func(Of T))) As String

Type Parameters

T

Generic type.

Parameters

memberExpression
Expression<Func<T>>

Member Expression.

Returns

Name of the member.

Applies to