DisplayNameExtensions::DisplayName Method (HtmlHelper^, String^)
Gets the display name.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public: [ExtensionAttribute] static MvcHtmlString^ DisplayName( HtmlHelper^ html, String^ expression )
Parameters
- html
-
Type:
System.Web.Mvc::HtmlHelper^
The HTML helper instance that this method extends.
- expression
-
Type:
System::String^
An expression that identifies the object that contains the display name.
Updated 13 March 2011
Show: