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


IXMLTypeMapper.FromDate Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IXMLTypeMapper.FromDate Method

Converts a date to an XML date.

[Visual Basic .NET]
Public Function FromDate ( _
    ByVal Value As DateTime _
) As String
[C#]
public string FromDate (
    DateTime Value
);
[C++]
HRESULT FromDate(
  DATE Value,
  BSTR* Text
);
[C++]

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

Product Availability

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

See Also

IXMLTypeMapper Interface