TagMapInfo.TagType Property

Definition

Gets or sets the name of the original type for the tag that is being remapped.

public:
 property System::String ^ TagType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("tagType", DefaultValue="", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string TagType { get; set; }
[<System.Configuration.ConfigurationProperty("tagType", DefaultValue="", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.TagType : string with get, set
Public Property TagType As String

Property Value

The name of the original type for the tag that is being remapped.

Attributes

Examples

The following code example shows how to use the TagType property. This code example is part of a larger example provided for the PagesSection class.

Remarks

Tag remapping occurs at compile time. This remapping causes the mapped type (specified by the MappedTagType property) to be used in place of the original tag type (specified by the TagType property) for all pages and controls in the ASP.NET application in the scope of the configuration file.

Note

An empty string value for this property will cause the configuration system to throw an exception when the object is serialized.

Applies to

See also