ExpressionHelper Class (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
ExpressionHelper Class

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ExpressionHelper

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

Visual Basic (Declaration)
Public NotInheritable Class ExpressionHelper
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class ExpressionHelper
Visual C++
public ref class ExpressionHelper abstract sealed
JScript
public final class ExpressionHelper
Methods

  Name Description
Public method Static member GetExpressionText(LambdaExpression) Gets the model name from a lambda expression.
Public method Static member GetExpressionText(String) Gets the model name from a string expression.
Top
Thread Safety

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

Reference