Gets or sets the object that contains data related to the MapItem.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Object Tag { get; set; }
Visual Basic (Declaration)
Public Property Tag As Object

Field Value

An Object that contains data related to the MapItem. The default is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

Any type derived from the Object class can be assigned to this property. A common use for the Tag property is to store data that is closely associated with the MapItem. Note that data stored in the Tag property will not be persisted to a map file (.nmf) when the map is saved.

See Also