Compartir a través de


HtmlHelper<TModel>.GetModelExplorer<TResult> Método

Definición

Obtiene para ModelExplorerexpression.

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

Parámetros de tipo

TResult

Tipo del resultado.

Parámetros

expression
Expression<Func<TModel,TResult>>

Expresión.

Devoluciones

ModelExplorer.

Se aplica a