DisplayNameExtensions.DisplayNameFor Method

Include Protected Members
Include Inherited Members

Gets the display name for the model.

Updated 13 March 2011

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member DisplayNameFor<TModel, TValue>(HtmlHelper<IEnumerable<TModel>>, Expression<Func<TModel, TValue>>) Gets the display name for the model.
Public methodStatic member DisplayNameFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>) Gets the display name for the model.

Top

See Also

Reference

DisplayNameExtensions Class

System.Web.Mvc.Html Namespace