HtmlHelperDisplayNameExtensions.DisplayNameForModel(IHtmlHelper) メソッド

定義

現在のモデルの表示名を返します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ DisplayNameForModel(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper);
public static string DisplayNameForModel (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper);
static member DisplayNameForModel : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper -> string
<Extension()>
Public Function DisplayNameForModel (htmlHelper As IHtmlHelper) As String

パラメーター

htmlHelper
IHtmlHelper

このメソッドが IHtmlHelper 拡張するインスタンス。

戻り値

String表示名を含む 。

適用対象