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


IXMLTypeMapper.ToDate Method (ArcObjects .NET 10.6 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
);
[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