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


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

ITime.QueryTimeString Method

Obtains the time as a string, based on the given time string format.

[Visual Basic .NET]
Public Function QueryTimeString ( _
    ByVal timeStringFormat As esriTimeStringFormat _
) As String
[C#]
public string QueryTimeString (
    esriTimeStringFormat timeStringFormat
);
[C++]
HRESULT QueryTimeString(
  esriTimeStringFormat timeStringFormat
);
[C++]
Parameters
timeStringFormat [in]

timeStringFormat is a parameter of type esriTimeStringFormat

Product Availability

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

See Also

ITime Interface