IHtmlHelper.DisplayText(String) IHtmlHelper.DisplayText(String) IHtmlHelper.DisplayText(String) Method

Definition

Returns the simple display text for the specified expression.

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

Parameters

expression
String String 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