Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the order in which the action filters are executed.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public int Order { get; set; }
public:
property int Order {
virtual int get() sealed;
virtual void set(int value) sealed;
}
abstract Order : int with get, set
override Order : int with get, set
Public Property Order As Integer
Property Value
Type: System.Int32
The order in which the action filters are executed.
Implements
Remarks
The Order property takes an integer value that must be 0 (the default) or greater, with one exception. Omitting the Order property gives the filter an order value of -1, which indicates an unspecified order. Any action filter in a scope whose Order property is set to -1 will be executed in an undetermined order, but before the filters that have a specified order.
See Also
FilterAttribute Class
System.Web.Mvc Namespace
Return to top