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


ITimeExtent.SetExtent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

ITimeExtent.SetExtent Method

Writes start and end time, with copies of the input time values.

[Visual Basic .NET]
Public Sub SetExtent ( _
    ByVal StartTime As ITime, _
    ByVal EndTime As ITime _
)
[C#]
public void SetExtent (
    ITime StartTime,
    ITime EndTime
);
[C++]
HRESULT SetExtent(
  ITime* StartTime,
  ITime* EndTime
);
[C++]

Parameters StartTime [in]
StartTime is a parameter of type ITime EndTime [in]
EndTime is a parameter of type ITime

Product Availability

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

Description

This function sets both the Start Time and End Time as one atomic action.

See Also

ITimeExtent Interface