Share via


ControllerDescriptor.GetFilterAttributes Method (Boolean)

 

Gets the filter attributes.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public virtual IEnumerable<FilterAttribute> GetFilterAttributes(
    bool useCache
)
public:
virtual IEnumerable<FilterAttribute^>^ GetFilterAttributes(
    bool useCache
)
abstract GetFilterAttributes : 
        useCache:bool -> IEnumerable<FilterAttribute>
override GetFilterAttributes : 
        useCache:bool -> IEnumerable<FilterAttribute>
Public Overridable Function GetFilterAttributes (
    useCache As Boolean
) As IEnumerable(Of FilterAttribute)

Parameters

  • useCache
    Type: System.Boolean

    true if the cache should be used; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable<FilterAttribute>

The filter attributes.

See Also

ControllerDescriptor Class
System.Web.Mvc Namespace

Return to top