ExpressionHelper.GetExpressionText Method (LambdaExpression)

Visual Studio 2010

Gets the model name from a lambda expression.

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

'Declaration
Public Shared Function GetExpressionText ( _
	expression As LambdaExpression _
) As String

Parameters

expression
Type: System.Linq.Expressions.LambdaExpression
The expression.

Return Value

Type: System.String
The model name.

Community Additions

ADD
Show: