.NET Framework Class Library
OutputCacheAttribute Class
Represents an attribute that is used to mark an action method whose output will be cached.
Namespace:
System.Web.Mvc
Assembly:
System.Web.Mvc (in System.Web.Mvc.dll)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, Inherited := True, _
AllowMultiple := False)> _
Public Class OutputCacheAttribute _
Inherits ActionFilterAttribute
Dim instance As OutputCacheAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true,
AllowMultiple = false)]
public class OutputCacheAttribute : ActionFilterAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method, Inherited = true,
AllowMultiple = false)]
public ref class OutputCacheAttribute : public ActionFilterAttribute
For more information about how to use attributes, see Extending Metadata Using Attributes.
System..::.Object
System..::.Attribute
System.Web.Mvc..::.FilterAttribute
System.Web.Mvc..::.ActionFilterAttribute
System.Web.Mvc..::.OutputCacheAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Reference
Other Resources