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)

member Verbs : ICollection<string> with get, private set

Property Value

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