Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

HtmlHelper::HttpMethodOverride Method (HttpVerbs)

Returns a hidden input element that identifies the override method for the specified verb that represents the HTTP data-transfer method used by the client.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public:
MvcHtmlString^ HttpMethodOverride(
	HttpVerbs httpVerb
)

Parameters

httpVerb
Type: System.Web.Mvc::HttpVerbs

The verb that represents the HTTP data-transfer method used by the client.

Return Value

Type: System.Web.Mvc::MvcHtmlString
The override method that uses the verb that represents the HTTP data-transfer method used by the client.
ExceptionCondition
ArgumentException

The httpVerb parameter is not "PUT", "DELETE", or "HEAD".

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.