ArcObjects Library Reference (System)  

IJSONObject.Add Method

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

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
[C#]
public void Add (
    string Name,
    object Value
);
[C++]
HRESULT Add(
  BSTR Name,
  VARIANT Value
);
[C++]

Parameters

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

Product Availability

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

See Also

IJSONObject Interface