This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONObject Interface > IJSONObject.AddDate Method (ArcObjects .NET 10.5 SDK) |
Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found.
[Visual Basic .NET] Public Sub AddDate ( _ ByVal Name As String, _ ByVal Value As DateTime _ )
[C#] public void AddDate ( string Name, DateTime Value );
[C++]
HRESULT AddDate(
BSTR Name,
DATE Value
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Value [in] Value is a parameter of type DATE