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


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

ITimeValue.Project Method

Projects this time value from its time reference, to a given time reference.

[Visual Basic .NET]
Public Sub Project ( _
    ByVal TimeReference As ITimeReference _
)
[C#]
public void Project (
    ITimeReference TimeReference
);
[C++]
HRESULT Project(
  ITimeReference* TimeReference
);
[C++]
Parameters
TimeReference [in]

TimeReference is a parameter of type ITimeReference*

Product Availability

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

Description

This function modifies the underlying time value in addition to changing the value of the temporal reference.  For example, if you have a time value whose time reference is in Pacific Time Zone, and is currently 6:00 AM.  The equivalent time in Eastern Time Zone is 9:00 AM.  Calling the Project method, and passing in a reference to the Eastern time zone will change the time reference to the Eastern Time Zone, and also change the value to 9:00 AM. 

See Also

ITimeValue Interface