ModelExpressionProvider.GetExpressionText<TModel,TValue> 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.
Gets the name for expression.
public:
generic <typename TModel, typename TValue>
 System::String ^ GetExpressionText(System::Linq::Expressions::Expression<Func<TModel, TValue> ^> ^ expression);public string GetExpressionText<TModel,TValue>(System.Linq.Expressions.Expression<Func<TModel,TValue>> expression);member this.GetExpressionText : System.Linq.Expressions.Expression<Func<'Model, 'Value>> -> stringPublic Function GetExpressionText(Of TModel, TValue) (expression As Expression(Of Func(Of TModel, TValue))) As StringType Parameters
- TModel
The model type.
- TValue
The type of the expression result.
Parameters
- expression
- Expression<Func<TModel,TValue>>
The expression.
Returns
The expression name.