System.Web.Configuration.TagMapCollection Class

Contains a collection of System.Web.Configuration.TagMapInfo objects.

See Also: TagMapCollection Members

Syntax

[System.Configuration.ConfigurationCollection(typeof(System.Web.Configuration.TagMapInfo), CollectionType=System.Configuration.ConfigurationElementCollectionType.AddRemoveClearMap)]
public sealed class TagMapCollection : System.Configuration.ConfigurationElementCollection

Remarks

The System.Web.Configuration.TagMapInfo class allows you to remap the types of tags at compile time. This remapping causes the mapped type to be used in place of the original tag type for all pages and controls in the ASP.NET application in the scope of the configuration file.

The System.Web.Configuration.TagMapCollection class allows you to programmatically access and modify the tagMapping subsection of the pages section of a configuration file. Within the tagMapping subsection, you can add and remove mappings between tag types by specifying the fully qualified strong names of the types.

Note:

Unlike other attributes and collections in the pages section, tag remapping has no matching ASP.NET page directive.

Requirements

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