.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 | |
|---|---|---|
|
GetExpressionText(LambdaExpression) | Gets the model name from a lambda expression. |
|
GetExpressionText(String) | Gets the model name from a string expression. |
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