System.Web.Configuration.UrlMappingsSection Class

Provides programmatic access to the urlMappings configuration section. This class cannot be inherited.

See Also: UrlMappingsSection Members

Syntax

public sealed class UrlMappingsSection : System.Configuration.ConfigurationSection

Remarks

The System.Web.Configuration.UrlMappingsSection class provides a way to programmatically access and modify the urlMappings section of a configuration file.

Note:

The urlMappings section contains System.Web.Configuration.UrlMapping objects that map URLs that are displayed to users to URLs that exist in your Web application. The System.Web.Configuration.UrlMappingsSection can write information into the related section of the configuration file according to the restrictions defined by the section property System.Configuration.SectionInformation.AllowDefinition whose value is System.Configuration.ConfigurationAllowDefinition.MachineToApplication. 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.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0