IHtmlHelper.DisplayName(String) Method

Definition

Returns the display name for the specified expression.

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

Parameters

expression
String

Expression name, relative to the current model.

Returns

A String containing the display name.

Applies to