InputTagHelper.GetInputType(ModelExplorer, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la valeur de l’attribut « type » d’un <élément d’entrée> en fonction du donné modelExplorer
ou InputType.
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
Paramètres
- modelExplorer
- ModelExplorer
ModelExplorer à utiliser.
- inputTypeHint
- String
Lorsque cette méthode est retournée, contient la chaîne, souvent le nom d’une ModelType classe de base, utilisée pour déterminer la valeur de retour de cette méthode.
Retours
Valeur d’attribut « type » d’un <élément d’entrée> .