Dela via


HtmlHelper.DisplayText(String) Method

Definition

Returns the simple display text for the specified expression.

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

Implements

Applies to