Dela via


HtmlHelper<TModel>.GetExpressionName<TResult> Method

Definition

Gets the name for expression.

protected:
generic <typename TResult>
 System::String ^ GetExpressionName(System::Linq::Expressions::Expression<Func<TModel, TResult> ^> ^ expression);
protected string GetExpressionName<TResult> (System.Linq.Expressions.Expression<Func<TModel,TResult>> expression);
member this.GetExpressionName : System.Linq.Expressions.Expression<Func<'Model, 'Result>> -> string
Protected Function GetExpressionName(Of TResult) (expression As Expression(Of Func(Of TModel, TResult))) As String

Type Parameters

TResult

Parameters

expression
Expression<Func<TModel,TResult>>

The expression.

Returns

The expression name.

Applies to