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


IXMLTypeMapper.ToDate Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLTypeMapper Interface > IXMLTypeMapper.ToDate Method
ArcGIS Developer Help

IXMLTypeMapper.ToDate Method

Converts an XML date to a date.

[Visual Basic .NET]
Public Function ToDate ( _
    ByVal Text As String _
) As DateTime
[C#]
public DateTime ToDate (
    string Text
);
[C++]
HRESULT ToDate(
  BSTR Text
);
[C++]
Parameters
Text [in]

Text is a parameter of type BSTR

Product Availability

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

See Also

IXMLTypeMapper Interface