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


ITime.SetFromTimeStringCurrentLocale Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

ITime.SetFromTimeStringCurrentLocale Method

Obtains the time from a string, based on the current locale.

[Visual Basic .NET]
Public Sub SetFromTimeStringCurrentLocale ( _
    ByVal timeLocaleFormat As esriTimeLocaleFormat, _
    ByVal timeString As String _
)
[C#]
public void SetFromTimeStringCurrentLocale (
    esriTimeLocaleFormat timeLocaleFormat,
    string timeString
);
[C++]
HRESULT SetFromTimeStringCurrentLocale(
  esriTimeLocaleFormat timeLocaleFormat,
  BSTR timeString
);
[C++]

Parameters timeLocaleFormat [in]
timeLocaleFormat is a parameter of type esriTimeLocaleFormat timeString [in]
timeString is a parameter of type BSTR

Product Availability

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

See Also

ITime Interface