HtmlHelper.DisplayText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.