FilterAttribute 类

定义

表示操作和结果筛选器特性的基类。

[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
继承
FilterAttribute
派生
属性
实现

构造函数

名称 说明
FilterAttribute()

初始化 FilterAttribute 类的新实例。

属性

名称 说明
AllowMultiple

获取或设置一个值,该值指示是否可指定筛选器特性的多个实例。

Order

获取或者设置执行操作筛选器的顺序。

适用于