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


IRasterTypeEnvironment.GetTimeStamp Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterTypeEnvironment.GetTimeStamp Method

Returns a time stamp associated either with the present instance in time or with the optional file path.

[Visual Basic .NET]
Public Function GetTimeStamp ( _
    ByVal FilePath As String _
) As DateTime
[C#]
public DateTime GetTimeStamp (
    string FilePath
);
[C++]
HRESULT GetTimeStamp(
  BSTR FilePath,
  DATE* pTimeStamp
);
[C++]

Parameters FilePath [in] FilePath is a parameter of type BSTR pTimeStamp [out, retval] pTimeStamp is a parameter of type DATE

Product Availability

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

See Also

IRasterTypeEnvironment Interface

.NET Samples

Create a custom raster type from the ground up for DMCII data (Code Files: DMCIIRasterType)