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


IJSONWriter.WriteDate Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IJSONWriter.WriteDate Method

Writes a date.

[Visual Basic .NET]
Public Sub WriteDate ( _
    ByVal Name As String, _
    ByVal Value As DateTime, _
    ByVal asString As Boolean _
)
[C#]
public void WriteDate (
    string Name,
    DateTime Value,
    bool asString
);
[C++]
HRESULT WriteDate(
  BSTR Name,
  DATE Value,
  VARIANT_BOOL asString
);
[C++]

Parameters Name Name is a parameter of type BSTR Value Value is a parameter of type DATE asString asString is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IJSONWriter Interface