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)

System.Object
  System.Web.Mvc.Html.NameExtensions

<ExtensionAttribute>
Public NotInheritable Class NameExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticId(HtmlHelper, String)

Gets the ID of the HtmlHelper string.

System_CAPS_pubmethodSystem_CAPS_staticIdFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)))

Gets the ID of the HtmlHelper(Of TModel) string

System_CAPS_pubmethodSystem_CAPS_staticIdForModel(HtmlHelper)

Gets the ID of the HtmlHelper string.

System_CAPS_pubmethodSystem_CAPS_staticName(HtmlHelper, String)

Gets the full HTML field name for the object that is represented by the expression.

System_CAPS_pubmethodSystem_CAPS_staticNameFor(Of TModel, TProperty)(HtmlHelper(Of TModel), Expression(Of Func(Of TModel, TProperty)))

Gets the full HTML field name for the object that is represented by the expression.

System_CAPS_pubmethodSystem_CAPS_staticNameForModel(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.

Return to top
Show: