TagMapCollection.Item Property (Int32)
.NET Framework (current version)
Gets or sets the TagMapInfo object at the specified index location.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The index of a TagMapInfo object in the collection.
Property Value
Type: System.Web.Configuration.TagMapInfoThe TagMapInfo object at the specified index, or null if there is no object at that index.
If a TagMapInfo object already exists at the specified index, this property overwrites it; otherwise, it creates a new object and adds it to the collection.
The following code example shows how to use the Item property. This example is part of a larger example provided for the PagesSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: