IHtmlHelper.DisplayText(String) Method

Definition

Returns the simple display text for the specified expression.

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

Parameters

expression
String

Expression name, relative to the current model.

Returns

A String containing the simple display text. If the expression result is null, returns NullDisplayText.

Applies to