0 out of 1 rated this helpful - Rate this topic

DisplayNameExtensions Class

Provides a mechanism to get display names.

System.Object
  System.Web.Mvc.Html.DisplayNameExtensions

Namespace:  System.Web.Mvc.Html
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public static class DisplayNameExtensions

The DisplayNameExtensions type exposes the following members.

  NameDescription
Public methodStatic memberDisplayNameGets the display name.
Public methodStatic memberDisplayNameFor<TModel, TValue>(HtmlHelper<IEnumerable<TModel>>, Expression<Func<TModel, TValue>>)Gets the display name for the model.
Public methodStatic memberDisplayNameFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>)Gets the display name for the model.
Public methodStatic memberDisplayNameForModelGets the display name for the model.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.