This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeExtent Interface > ITimeExtent.SetExtent Method (ArcObjects .NET 10.5 SDK) |
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
This function sets both the Start Time and End Time as one atomic action.