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


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

IJSONObject.AddJSONObject Method

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

[Visual Basic .NET]
Public Sub AddJSONObject ( _
    ByVal Name As String, _
    ByVal Value As IJSONObject _
)
[C#]
public void AddJSONObject (
    string Name,
    IJSONObject Value
);
[C++]
HRESULT AddJSONObject(
  BSTR Name,
  IJSONObject* Value
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Value [in]
Value is a parameter of type IJSONObject

Product Availability

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

See Also

IJSONObject Interface