从配置集合中移除所有 
??system.web 元素(ASP.NET 设置架构)
????caching 元素(ASP.NET 设置架构)
??????caching 的 outputCacheSettings 元素(ASP.NET 设置架构)
????????caching 的 outputCacheSettings 的 outputCacheProfiles 元素(ASP.NET 设置架构)
??????????caching 的 outputCacheProfiles 的 clear 元素(ASP.NET 设置架构)
| <clear /> | 
 属性和元素
属性和元素
以下几节描述了属性、子元素和父元素。
属性
无。
子元素
无。
父元素
| 元素 | 说明 | 
|---|---|
| configuration | 公共语言运行库和 .NET Framework 应用程序所使用的每个配置文件中均需要的根元素。 | 
| system.web | 指定配置文件中 ASP.NET 配置设置的根元素。包含各种配置元素,这些配置元素配置 ASP.NET Web 应用程序并控制这些应用程序的行为方式。 | 
| caching | 为 Web 应用程序配置缓存设置。 | 
| outputCacheSettings | 指定可以应用于 ASP.NET 应用程序中页的输出缓存配置文件设置。 | 
| outputCacheProfiles | 包含可以应用于页以指定 OutputCache 指令的缓存设置组。 | 
 备注
备注
 默认配置
默认配置
下面的默认 clear 元素不是在计算机配置文件或根 Web.config 文件中显式配置的,而是由 .NET Framework 版本 2.0 中的应用程序返回的默认配置。
| ? |  复制代码 | 
|---|---|
| <outputCacheSettings>
  <outputCacheProfiles>
    <clear />
  </outputCacheProfiles>
</outputCacheSettings> | |
 示例
示例
下面的代码示例说明如何从集合中移除所有 OutputCacheProfile 对象。
| ? |  复制代码 | 
|---|---|
| <outputCacheProfiles> <clear /> </outputCacheProfiles> | |
 元素信息
元素信息
| Configuration Section Handler | 
               | 
| Configuration Member | 
               | 
| Configurable Locations | Machine.config 根级别的 Web.config 应用程序级别的 Web.config | 
| Requirements | IIS 版本 5.0、5.1 和 6.0 .NET Framework 版本 2.0 Visual Studio 2005 | 
 请参见
请参见
任务
参考
system.web 元素(ASP.NET 设置架构)configuration 元素(常规设置架构)
caching 元素(ASP.NET 设置架构)
caching 的 outputCacheSettings 元素(ASP.NET 设置架构)
caching 的 outputCacheSettings 的 outputCacheProfiles 元素(ASP.NET 设置架构)
caching 的 outputCacheProfiles 的 add 元素(ASP.NET 设置架构)
caching 的 outputCacheProfiles 的 remove 元素(ASP.NET 设置架构)
概念
其他资源
常规配置设置 (ASP.NET)ASP.NET 配置设置
 
            
          
         
      
    
     
      
    
     
      
    
     
      
    
     
      
    
    