Share via


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

'Declaration
Public NotInheritable Class ExpressionHelper
public static class ExpressionHelper
public ref class ExpressionHelper abstract sealed

Methods

  Name Description
Public methodStatic member GetExpressionText(LambdaExpression) Gets the model name from a lambda expression.
Public methodStatic 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

System.Web.Mvc Namespace