Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 static class ExpressionHelper

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.
© 2015 Microsoft