Aracılığıyla paylaş


InputTagHelper.GetInputType(ModelExplorer, String) Yöntem

Tanım

Verilen modelExplorer veya InputTypeöğesini temel alan bir <giriş> öğesinin "type" öznitelik değerini alır.

protected:
 System::String ^ GetInputType(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, [Runtime::InteropServices::Out] System::String ^ % inputTypeHint);
protected string GetInputType (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, out string inputTypeHint);
member this.GetInputType : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string -> string
Protected Function GetInputType (modelExplorer As ModelExplorer, ByRef inputTypeHint As String) As String

Parametreler

modelExplorer
ModelExplorer

ModelExplorer Kullanılacak.

inputTypeHint
String

Bu yöntem döndürdüğünde, genellikle bu yöntemin dönüş değerini belirlemek için kullanılan bir ModelType temel sınıfın adı olan dizeyi içerir.

Döndürülenler

> Giriş <öğesinin "type" öznitelik değeri.

Şunlara uygulanır