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)
Syntax
'Declaration
Public Property Verbs As ICollection(Of String)
Get
Private Set
public ICollection<string> Verbs { get; private set; }
public:
property ICollection<String^>^ Verbs {
ICollection<String^>^ get ();
private: void set (ICollection<String^>^ value);
}
Property Value
Type: System.Collections.Generic.ICollection<String>
The list of HTTP verbs that the action method will respond to.