Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetExpressionText Method (String)
Collapse the table of content
Expand the table of content

ExpressionHelper.GetExpressionText Method (String)

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


Type: System.String
The expression.

Return Value

Type: System.String
The model name.
© 2015 Microsoft