Utilities.GetMemberName<T>(Expression<Func<T>>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.