Freigeben über


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

public ICollection<string> Verbs { get; private set; }
public:
property ICollection<String^>^ Verbs {
    ICollection<String^>^ get();
    private: void set(ICollection<String^>^ value);
}
member Verbs : ICollection<string> with get, private set
Public Property Verbs As ICollection(Of String)
    Get
    Private Set
End Property

Property Value

Type: System.Collections.Generic.ICollection<String>

The list of HTTP verbs that the action method will respond to.

See Also

AcceptVerbsAttribute Class
System.Web.Mvc Namespace

Return to top