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


ITime.SetFromTimeStringCurrentLocale 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.SetFromTimeStringCurrentLocale Method
ArcGIS Developer Help

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