This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITime Interface > ITime.QueryTimeStringCurrentLocale Method (ArcObjects .NET 10.4 SDK) |
Obtains the time as a string, based on the current locale.
[Visual Basic .NET] Public Function QueryTimeStringCurrentLocale ( _ ByVal timeLocaleFormat As esriTimeLocaleFormat _ ) As String
[C#] public string QueryTimeStringCurrentLocale ( esriTimeLocaleFormat timeLocaleFormat );
[C++]
HRESULT QueryTimeStringCurrentLocale(
esriTimeLocaleFormat timeLocaleFormat,
BSTR* timeString
);
[C++]
Parameters timeLocaleFormat [in]
timeLocaleFormat is a parameter of type esriTimeLocaleFormat timeString [out, retval] timeString is a parameter of type BSTR