다음을 통해 공유


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" 특성 값입니다.

적용 대상