HtmlHelper<TModel>.GetModelExplorer<TResult> 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 ModelExplorer for expression
.
protected:
generic <typename TResult>
Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ GetModelExplorer(System::Linq::Expressions::Expression<Func<TModel, TResult> ^> ^ expression);
protected Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer GetModelExplorer<TResult> (System.Linq.Expressions.Expression<Func<TModel,TResult>> expression);
member this.GetModelExplorer : System.Linq.Expressions.Expression<Func<'Model, 'Result>> -> Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer
Protected Function GetModelExplorer(Of TResult) (expression As Expression(Of Func(Of TModel, TResult))) As ModelExplorer
Type Parameters
- TResult
The type of the result.
Parameters
- expression
- Expression<Func<TModel,TResult>>
The expression.
Returns
The ModelExplorer.