Share via


HtmlHelperExtensions Class

 

Represents the HTML encoding helper extensions.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Web.Mvc.Resources.HtmlHelperExtensions

Syntax

public static class HtmlHelperExtensions
[ExtensionAttribute]
public ref class HtmlHelperExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type HtmlHelperExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class HtmlHelperExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static BeginResourceForm(HtmlHelper, String, Object)

Generates the Form preamble, defaulting the link for the Retrieve action.

System_CAPS_pubmethodSystem_CAPS_static BeginResourceForm(HtmlHelper, String, Object, ActionType)

Generates the Form preamble.

System_CAPS_pubmethodSystem_CAPS_static BeginResourceForm(HtmlHelper, String, Object, Object, ActionType)

Generates the Form preamble.

System_CAPS_pubmethodSystem_CAPS_static HttpMethodOverride(HtmlHelper, ActionType)

Emits a hidden form variable for X-Http-Method-Override. The only valid values for actionType are ActionType.Delete and ActionType.Update.

System_CAPS_pubmethodSystem_CAPS_static ResourceLink(HtmlHelper, String, Object)

Generates a link to the resource controller, defaulting to the Retrieve action.

System_CAPS_pubmethodSystem_CAPS_static ResourceLink(HtmlHelper, String, String, Object)

Generates a link to the resource controller, defaulting to the Retrieve action.

System_CAPS_pubmethodSystem_CAPS_static ResourceLink(HtmlHelper, String, String, Object, ActionType)

Generates a link to the resource controller, defaulting to the Retrieve action.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Web.Mvc.Resources Namespace

Return to top