This document is archived and information here might be outdated.  Recommended version.


ITimeData Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ITimeData Interface

Provides access to time related properties of a layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The ITimeData interface is implemented by all layers that can display time-related data or respond to time-related queries.  However, for a layer to properly support time, it must be configured by a user with information from the ITimeDataDisplay interface.  Once this information has been configured, the UseTime property in this interface is set to true, indicating that the layer not only has the ability to display time-related data, but also has all of the information (meta-data) it needs to display time-related data.

Members

Description
Method GetFullTimeExtent Returns the time extent for all the data in the layer.
Read-only property SupportsTime Indicates whether the layer has any time data.
Read-only property TimeReference Time reference for the contents of the layer.
Read/write property UseTime Indicates whether to use the time for animation purposes.

CoClasses that implement ITimeData

CoClasses and Classes Description
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
ImageServerLayer Image server layer source and display options.
MapServerLayer Provides programmatic access to a map server layer.
MapServerRESTLayer Provides programmatic access to a a layer based on MapServer using REST access.
MapServerRESTSubLayer Provides programmatic access to a MapServer SubLayer.
MosaicLayer The layer implementation of the Mosaic Dataset.
NetworkLayer Esri Network Layer CoClass.
RasterLayer Raster layer source and display options.
StandaloneTable A standalone table.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
WMSMapLayer A container for the display and manipulation of WMS layers.

.NET Samples

Make a custom time slider (Code Files: CustomTimeSliderButton) | Applying a time offset to a time-aware feature layer (Code Files: TimeOffsetButton) | Set the time extents for a layer then render the layer (Code Files: SetTimeExtentsButton)