Gets or sets an object that contains data relating to the GalleryItem; can be used to help identify the item or associate it with an action.

Namespace:  ESRI.ArcGISExplorer.Application

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


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

Field Value

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


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 GalleryItem, or helps to identify it uniquely or associate it with the action it should perform. The Tag property is not used or set by the application itself.

Note that data stored in the Tag property will not be persisted by the application when the application exits.

See Also