compilation 的 expressionBuilders 的 remove 元素(ASP.NET 设置架构)

更新:2007 年 11 月

从集合中移除对继承的表达式生成器的引用。

此元素是 .NET Framework 2.0 版中的新元素。

<configuration> 元素
  system.web 元素(ASP.NET 设置架构)
    compilation 元素(ASP.NET 设置架构)
      compilation 的 assemblies 元素(ASP.NET 设置架构)
        compilation 的 expressionBuilders 的 remove 元素(ASP.NET 设置架构)

<remove
   expressionPrefix = "prefix" 
/>

属性和元素

以下几节描述了属性、子元素和父元素。

属性

属性

说明

expressionPrefix

必选的 String 属性。

指定要从集合中移除的表达式生成器的前缀。

此属性必须与将该表达式生成器添加到集合中时使用的 expressionPrefix 属性相同。

子元素

无。

父元素

元素

说明

configuration

指定公共语言运行库和 .NET Framework 应用程序所使用的每个配置文件中均需要的根元素。

system.web

为 ASP.NET 配置节指定根元素。

compilation

配置 ASP.NET 用于编译应用程序的所有编译设置。

expressionBuilders

定义一个要在编译期间使用的资源字符串的集合。

资源字符串将前缀与表达式生成器关联起来。

备注

remove 元素从 expressionBuilders 元素中包含的集合中移除对继承的表达式生成器的引用。

expressionBuilders 元素定义一个要在编译期间使用的资源字符串的集合。资源字符串将前缀与表达式生成器关联起来。

有关更多信息,请参见 ExpressionBuilder

元素信息

配置节处理程序

CompilationSection

配置成员

Remove

可配置的位置

Machine.config

根级别的 Web.config

应用程序级别的 Web.config

虚拟或物理目录级别的 Web.config

要求

Microsoft Internet 信息服务 (IIS) 版本 5.0、5.1 或 6.0

.NET Framework 2.0 版

Microsoft Visual Studio 2003 或 Visual Studio 2005

请参见

任务

如何:使用位置设置配置特定目录

如何:锁定 ASP.NET 配置设置

概念

ASP.NET 编译概述

ASP.NET 网页语法概述

ASP.NET 配置文件层次结构和继承

保证 ASP.NET 配置的安全

ASP.NET 配置方案

参考

compilation 的 assemblies 元素(ASP.NET 设置架构)

compilation 的 expressionBuilders 的 clear 元素(ASP.NET 设置架构)

compilation 的 expressionBuilders 的 add 元素(ASP.NET 设置架构)

configuration 元素(常规设置架构)

system.web 元素(ASP.NET 设置架构)

compilation 元素(ASP.NET 设置架构)

System.Configuration

System.Web.Configuration

CompilationSection

Remove

其他资源

常规配置设置 (ASP.NET)

ASP.NET 配置设置

管理 ASP.NET 网站

ASP.NET 配置文件

ASP.NET 配置 API