NameExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HTML ID and name attributes of the HtmlHelper string.
public static class NameExtensions
type NameExtensions = class
Public Module NameExtensions
- Inheritance
-
NameExtensions
Methods
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. |