TagMapInfo Constructor (String, String)

 

Initializes a new instance of the TagMapInfo class based on the passed property values.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

Public Sub New (
	tagTypeName As String,
	mappedTagTypeName As String
)

Parameters

tagTypeName
Type: System.String

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

mappedTagTypeName
Type: System.String

The name of the type to which the tag is remapped, along with the supporting details.

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

' Add a TagMapInfo object using a constructor.
pagesSection.TagMapping.Add( _
 New System.Web.Configuration.TagMapInfo( _
 "MyNameSpace.MyControl", "MyNameSpace.MyOtherControl"))

.NET Framework
Available since 2.0
Return to top
Show: