NameExtensions Class
Gets the HTML ID and name attributes of the HtmlHelper string.
Namespace: System.Web.Mvc.Html
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The NameExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Id | Gets the ID of the HtmlHelper string. |
![]() ![]() | IdFor(TModel, TProperty) | Gets the ID of the HtmlHelper(TModel) string |
![]() ![]() | IdForModel | Gets the ID of the HtmlHelper string. |
![]() ![]() | Name | Gets the full HTML field name for the object that is represented by the expression. |
![]() ![]() | NameFor(TModel, TProperty) | Gets the full HTML field name for the object that is represented by the expression. |
![]() ![]() | NameForModel | Gets the full HTML field name for the object that is represented by the expression. |
Show:
.gif?cs-save-lang=1&cs-lang=fsharp)
.gif?cs-save-lang=1&cs-lang=fsharp)