Export (0) Print
Expand All
0 out of 2 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)
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DisplayNameExtensions =  class end

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:
© 2014 Microsoft. All rights reserved.