Freigeben über


ExpressionHelper.GetExpressionText Method (LambdaExpression)

Gets the model name from a lambda expression.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Shared Function GetExpressionText ( _
    expression As LambdaExpression _
) As String
public static string GetExpressionText(
    LambdaExpression expression
)
public:
static String^ GetExpressionText(
    LambdaExpression^ expression
)

Parameters

Return Value

Type: System.String
The model name.

See Also

Reference

ExpressionHelper Class

GetExpressionText Overload

System.Web.Mvc Namespace