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


ITimeExtent.SetExtent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeExtent Interface > ITimeExtent.SetExtent Method
ArcGIS Developer Help

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