共用方式為


HtmlHelper.GenerateDisplayText(ModelExplorer) 方法

定義

產生顯示文字。

protected:
 virtual System::String ^ GenerateDisplayText(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer);
protected virtual string GenerateDisplayText (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer);
abstract member GenerateDisplayText : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer -> string
override this.GenerateDisplayText : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer -> string
Protected Overridable Function GenerateDisplayText (modelExplorer As ModelExplorer) As String

參數

modelExplorer
ModelExplorer

ModelExplorer

傳回

文字。

適用於