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


IJSONObject.AddDoubleEx Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IJSONObject.AddDoubleEx Method

Adds new member name-value pair to the member collection. Stores precision for use in ToJSON and ToJSONString. Returns E_FAIL if duplicate member is found.

[Visual Basic .NET]
Public Sub AddDoubleEx ( _
    ByVal Name As String, _
    ByVal Value As Double, _
    ByVal precision As Integer _
)
[C#]
public void AddDoubleEx (
    string Name,
    double Value,
    int precision
);
[C++]
HRESULT AddDoubleEx(
  BSTR Name,
  double Value,
  long precision
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Value [in] Value is a parameter of type double precision [in] precision is a parameter of type long

Product Availability

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

See Also

IJSONObject Interface