共用方式為


clientTarget 的 clear 項目 (ASP.NET 設定結構描述)

移除目前由指定的 Web.config 檔案所包含,或是由其繼承的所有別名。

<clear/>

屬性和項目

下列章節會說明屬性、子項目和父項目。

屬性

無。

子項目

無。

父項目

項目

描述

configuration

指定 Common Language Runtime 和 .NET Framework 應用程式所使用之每個組態檔中的根項目 (Root Element)。

system.web

指定 ASP.NET 組態區段的根項目。

clientTarget

加入特定使用者代理程式的別名至使用者代理程式別名的內部集合。

項目資訊

組態區段處理常式

System.Web.Configuration.ClientTargetSection

組態成員

Clear

可設定的位置

Machine.config

根層次的 Web.config

應用程式層級的 Web.config

虛擬或實體目錄層級的 Web.config

需求

Microsoft Internet Information Services (IIS) 5.0、5.1 或 6.0 版

.NET Framework 1.0、1.1 或 2.0 版

Microsoft Visual Studio 2003 或 Visual Studio 2005

請參閱

工作

How to: Lock ASP.NET Configuration Settings

參考

clientTarget 項目 (ASP.NET 設定結構描述)

system.web 項目 (ASP.NET 設定結構描述)

configuration 項目 (一般設定結構描述)

clientTarget 的 add 項目 (ASP.NET 設定結構描述)

clientTarget 的 remove 項目 (ASP.NET 設定結構描述)

@ Page

System.Configuration

System.Web.Configuration

概念

ASP.NET Configuration Overview

ASP.NET Server Controls and Browser Capabilities

Securing Configuration

Configuration Inheritance

其他資源

ASP.NET Configuration Files

ASP.NET 組態設定

一般組態設定 (ASP.NET)

ASP.NET Configuration API