ExpressionHelper.GetExpressionText Method (String)

Visual Studio 2010

Gets the model name from a string expression.

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

public static string GetExpressionText(
	string expression
)

Parameters

expression
Type: System.String
The expression.

Return Value

Type: System.String
The model name.

Community Additions

ADD
Show: