ExpressionHelper.GetExpressionText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetExpressionText(LambdaExpression) |
Gets the model name from a lambda expression. |
GetExpressionText(String) |
Gets the model name from a string expression. |
GetExpressionText(LambdaExpression)
Gets the model name from a lambda expression.
public static string GetExpressionText (System.Linq.Expressions.LambdaExpression expression);
static member GetExpressionText : System.Linq.Expressions.LambdaExpression -> string
Public Shared Function GetExpressionText (expression As LambdaExpression) As String
Parameters
- expression
- LambdaExpression
The expression.
Returns
The model name.
Applies to
GetExpressionText(String)
Gets the model name from a string expression.
public static string GetExpressionText (string expression);
static member GetExpressionText : string -> string
Public Shared Function GetExpressionText (expression As String) As String
Parameters
- expression
- String
The expression.
Returns
The model name.