NameExtensions Class
Gets the HTML ID and name attributes of the HtmlHelper string.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Id(HtmlHelper, String) | Gets the ID of the HtmlHelper string. |
![]() ![]() | IdFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>) | Gets the ID of the HtmlHelper<TModel> string |
![]() ![]() | IdForModel(HtmlHelper) | Gets the ID of the HtmlHelper string. |
![]() ![]() | Name(HtmlHelper, String) | Gets the full HTML field name for the object that is represented by the expression. |
![]() ![]() | NameFor<TModel, TProperty>(HtmlHelper<TModel>, Expression<Func<TModel, TProperty>>) | Gets the full HTML field name for the object that is represented by the expression. |
![]() ![]() | NameForModel(HtmlHelper) | Gets the full HTML field name for the object that is represented by the expression. |
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:
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)