Поделиться через


<remove> Element for <clientTarget>

Removes an alias for a specific user agent from an internal collection of user agent aliases.

<configuration>
   <system.web>
      <clientTarget>
**         <remove>**

<remove alias="alias name"/>

Required Attribute

Attribute Description
alias The user agent alias to be removed.

Example

The following example removes a user agent alias from the internal user agent alias collection.

<configuration>
   <system.web>
      <clientTarget>
         <remove alias="downlevel"/>
      </clientTarget>
   </system.web>
</configuration>

Requirements

Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Configuration.

See Also

<clientTarget> Element | ASP.NET Configuration | ASP.NET Settings Schema