ExpressionHelper Class

Provides a helper class to get the model name from an expression.


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

Public NotInheritable Class ExpressionHelper
You do not need to declare an instance of a static class in order to access its members.

Public methodStatic memberGetExpressionText(LambdaExpression)Gets the model name from a lambda expression.
Public methodStatic memberGetExpressionText(String)Gets the model name from a string expression.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.