This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITime Interface > ITime.SetFromTimeStringCurrentLocale Method (ArcObjects .NET 10.5 SDK) |
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