Udostępnij za pośrednictwem


HtmlHelper<TModel>.GetModelExplorer<TResult> Metoda

Definicja

Pobiera element ModelExplorer dla .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

Parametry typu

TResult

Typ wyniku.

Parametry

expression
Expression<Func<TModel,TResult>>

Wyrażenie.

Zwraca

Element ModelExplorer.

Dotyczy