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


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

ITime.SetFromTimeString Method

Writes the time from a string, based on the given time string format.

[Visual Basic .NET]
Public Sub SetFromTimeString ( _
    ByVal timeStringFormat As esriTimeStringFormat, _
    ByVal timeString As String _
)
[C#]
public void SetFromTimeString (
    esriTimeStringFormat timeStringFormat,
    string timeString
);
[C++]
HRESULT SetFromTimeString(
  esriTimeStringFormat timeStringFormat,
  BSTR timeString
);
[C++]
Parameters
timeStringFormat [in]

timeStringFormat is a parameter of type esriTimeStringFormat timeString [in]
timeString is a parameter of type BSTR

Product Availability

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

See Also

ITime Interface