Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 final 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.
Show:
© 2015 Microsoft