Sdílet prostřednictvím


FilterAttribute Třída

Definice

Představuje základní třídu pro atributy filtru akcí a výsledků.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class FilterAttribute : Attribute, System.Web.Mvc.IMvcFilter
type FilterAttribute = class
    inherit Attribute
    interface IMvcFilter
Public MustInherit Class FilterAttribute
Inherits Attribute
Implements IMvcFilter
Dědičnost
FilterAttribute
Odvozené
Atributy
Implementuje

Konstruktory

FilterAttribute()

Inicializuje novou instanci FilterAttribute třídy .

Vlastnosti

AllowMultiple

Získá nebo nastaví hodnotu, která označuje, zda lze zadat více než jednu instanci atributu filtru.

Order

Získá nebo nastaví pořadí, ve kterém jsou provedeny filtry akcí.

Platí pro