Visual Basic (Declaration) | |
---|---|
Public Property TimeOffsetUnit As TimeOffsetUnits |
C# | |
---|---|
public TimeOffsetUnits TimeOffsetUnit {get; set;} |
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
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8