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


IJSONObject.AddLong Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONObject Interface > IJSONObject.AddLong Method
ArcGIS Developer Help

IJSONObject.AddLong Method

Adds new member name-value pair to the member collection. Returns E_FAIL if duplicate member is found.

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

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

Product Availability

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

See Also

IJSONObject Interface