TagMapElement Class [IIS 7 and higher]
Contains a statement that remaps a tag type.
Syntax
class TagMapElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the TagMapElement class.
Name |
Description |
---|---|
MappedTagType |
A read/write nonempty string value that specifies the name of the type to which the tag is remapped.
Note:
An empty string value for this property will cause the configuration system to throw an exception when the object is serialized.
|
TagType |
A read-only nonempty string value that specifies the name of the original type for the tag that is being remapped. The key property.
Note:
An empty string value for this property will cause the configuration system to throw an exception when the object is serialized.
|
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are exposed as members of the TagMapping property on the TagMapInfo class.
Tag remapping, which occurs at compile time, replaces the original tag type (specified by the TagType property) with the mapped type (specified by the MappedTagType property) for all pages and controls in the ASP.NET application in the scope of the configuration file.
Inheritance Hierarchy
TagMapElement
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
CollectionElement Class [IIS 7 and higher]
PagesSection Class [IIS 7 and higher]
TagMapInfo Class [IIS 7 and higher]
TagMapInfo