This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IJ > IJSONArray Interface > IJSONArray.ToJSONString Method (ArcObjects .NET 10.4 SDK) |
Converts IJSONArray to JSON representation using IJSONWriter internally. 'props' parameter is to control IJSONWriter properties. It's safe to set it to NULL.
[Visual Basic .NET] Public Function ToJSONString ( _ ByVal props As IPropertySet _ ) As String
[C#] public string ToJSONString ( IPropertySet props );
[C++]
HRESULT ToJSONString(
IPropertySet* props,
BSTR* outStr
);
[C++]
Parameters props [in]
props is a parameter of type IPropertySet outStr [out, retval] outStr is a parameter of type BSTR