This documentation is archived and is not being maintained.

TagMapCollection::Item Property (Int32)

Gets or sets the TagMapInfo object at the specified index location.

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

public:
property TagMapInfo^ Item[int index] {
	TagMapInfo^ get (int index);
	void set (int index, TagMapInfo^ value);
}

Parameters

index
Type: System::Int32
The index of a TagMapInfo object in the collection.

Property Value

Type: System.Web.Configuration::TagMapInfo
The TagMapInfo object at the specified index, or nullptr 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.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: