你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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