IHtmlHelper.DisplayName(String) IHtmlHelper.DisplayName(String) IHtmlHelper.DisplayName(String) Method

Definition

Returns the display name for the specified expression.

public string DisplayName (string expression);
abstract member DisplayName : string -> string
Public Function DisplayName (expression As String) As String

Parameters

expression
String String String

Expression name, relative to the current model.

Returns

A String containing the display name.

Applies to