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


IXMLTypeMapper.ToDate Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

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,
  DATE* Value
);
[C++]

Parameters Text [in] Text is a parameter of type BSTR Value [out, retval] Value is a parameter of type DATE

Product Availability

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

See Also

IXMLTypeMapper Interface