InputTagHelper.GetInputType(ModelExplorer, String) メソッド

定義

指定modelExplorerされた または InputTypeに<基づいて、入力>要素の "type" 属性値を取得します。

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

パラメーター

modelExplorer
ModelExplorer

使用する ModelExplorer

inputTypeHint
String

このメソッドが戻るとき、このメソッドの戻り値を決定するために使用される文字列 (多くの場合、基底クラスの名前 ModelType ) が含まれます。

戻り値

<入力>要素の "type" 属性値。

適用対象