HtmlHelperNameExtensions 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.
Name-related extensions for IHtmlHelper.
public ref class HtmlHelperNameExtensions abstract sealed
public static class HtmlHelperNameExtensions
type HtmlHelperNameExtensions = class
Public Module HtmlHelperNameExtensions
- Inheritance
-
HtmlHelperNameExtensions
Methods
IdForModel(IHtmlHelper) |
Returns the HTML element Id for the current model. |
NameForModel(IHtmlHelper) |
Returns the full HTML element name for the current model. Uses HtmlFieldPrefix (if non-empty) to reflect relationship between current Model and the top-level view's model. |