System.Web 2.0.0.0 System.Configuration.ConfigurationSection

The class allows you to programmatically access and modify the outputCacheSettings element of the caching section in a configuration file. The output cache settings define the dependencies (the relationships between items stored in the cache and files, cache keys, or objects) that are used in output caching, for instance, by the @ OutputCache directive or by the .

The can write information into the related section of the configuration file according to the restrictions defined by the section property whose value is . Any attempt to write in a configuration file at a level not allowed in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy.

Configures the output cache settings for application pages . This class cannot be inherited.

- Constructor

  The constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the class by using the method.

  Initializes a new instance of the class.

  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("outputCacheProfiles")
  System.Web.Configuration.OutputCacheProfileCollection To be added.

  The property allows you to programmatically access the outputCacheProfiles element in a configuration file. You can use the property to modify the outputCacheProfiles element programmatically.

  The outputCacheProfiles section contains objects that represent output cache settings that may be used by pages in the application. These settings can be applied to a page by setting the CacheProfile attribute of the @ OutputCache directive. Apply the profile to control caching attributes such as dependencies, cache location, and cache expiration time.

  The @ OutputCache directive can override all the settings contained by an except the property. This is to ensure you can enable or disable the without having to modify the directives in all the pages that might have overridden it.

  Gets a .

  2.0.0.0
- Property
  System.Configuration.ConfigurationPropertyCollection To be added. To be added.

  Gets the collection of properties.

  2.0.0.0