System.Web.Configuration.PagesSection Class

Provides programmatic access to the pages section of the configuration file. This class cannot be inherited.

See Also: PagesSection Members

Syntax

public sealed class PagesSection : System.Configuration.ConfigurationSection

Remarks

The System.Web.Configuration.PagesSection class provides a way to programmatically access and modify the content of the configuration file pages section. This configuration section supports setting certain ASP.NET page and control directives globally for all pages and controls in the scope of the configuration file. This includes the @ Page directive, the @ Import directive through the PagesSection.Namespaces collection property, and the @ Register directive through the PagesSection.Controls collection property. It also provides support for mapping tag types to other tag types at run time through the PagesSection.TagMapping collection property.

Directives specify settings used by the page and user-control compilers when they process ASP.NET Web Forms page (.aspx) and user control (.ascx) files.

Requirements

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