HtmlHelper.DisplayName(String) Method

Definition

Returns the display name for the specified expression.

public:
 virtual System::String ^ DisplayName(System::String ^ expression);
public string DisplayName (string expression);
abstract member DisplayName : string -> string
override this.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.

Implements

Applies to