ArcGIS Runtime SDK for WPF - Library Reference
TimeOffsetUnit Property
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > TimeOption Class : TimeOffsetUnit Property

Gets or sets the TimeOffsetUnits Enumeration that specifies the unit of measurement to be used for a TimeOption.TimeOffset of a sub-layer in a time-enabled ArcGISDynamicMapServiceLayer.

Syntax

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

Remarks

Normally the Map.TimeExtent determines what features will be displayed for a time-enabled ArcGISDynamicMapServiceLayer. The TimeOption.TimeOffset is a special case where the features that are returned will be offset from what is specified in the Map.TimeExtent by the TimeOption.TimeOffset amount based upon specific TimeOption.TimeOffsetUnit denomination. Negative TimeOption.TimeOffset values are possible for returning features of previous times to the currently set Map.TimeExtent.

The TimeOption.TimeOffset is an optional Property. If this Property is not set, then the effect of the Offset on the temporal data in the sub-layer is zero (0).

The TimeOffsetUnits Enumeration have the denominations of:

  • Milliseconds
  • Seconds
  • Minutes
  • Hours
  • Days
  • Weeks
  • Months
  • Years
  • Decades
  • Centuries
  • Unknown

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.