Gets or sets an object that contains data relating to the Graphic; can be used to help identify the Graphic or associate it with other data or actions.

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 about the Graphic. 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 Graphic, or helps to identify it uniquely or associate it with the action it should perform when clicked. 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