ActionDescriptor.GetFilterAttributes(Boolean) 方法

定义

获取筛选器特性。

public virtual System.Collections.Generic.IEnumerable<System.Web.Mvc.FilterAttribute> GetFilterAttributes (bool useCache);
abstract member GetFilterAttributes : bool -> seq<System.Web.Mvc.FilterAttribute>
override this.GetFilterAttributes : bool -> seq<System.Web.Mvc.FilterAttribute>
Public Overridable Function GetFilterAttributes (useCache As Boolean) As IEnumerable(Of FilterAttribute)

参数

useCache
Boolean

如果为 true,则使用缓存,否则为 false。

返回

筛选器特性。

适用于