Compartilhar via


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

Definição

Obtém o ModelExplorer para 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

Parâmetros de tipo

TResult

O tipo do resultado.

Parâmetros

expression
Expression<Func<TModel,TResult>>

A expressão.

Retornos

O ModelExplorer.

Aplica-se a