AcceptVerbsAttribute.Verbs Property

Gets or sets the list of HTTP verbs that the action method will respond to.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

function get Verbs () : ICollection<String>
private function set Verbs (value : ICollection<String>)

Property Value

Type: System.Collections.Generic.ICollection(String)
The list of HTTP verbs that the action method will respond to.
Show: