ArcObjects Library Reference (GeoDatabase)  

IJSONConverterGdb.ToRecordSet Method

Reads RecordSet object from IJSONObject. pDefaultSchema is used only when input JSON has no 'fields' attribute. Pass NULL if not needed. Also, sometimes field names are corrected by the GeoDatabase, use ppOriginalToNewFieldMap to find new field names.

[Visual Basic .NET]
Public Sub ToRecordSet ( _
    ByVal pObj As IJSONObject, _
    ByVal pDefaultSchema As IFields, _
    ByVal pConversionProps As IPropertySet, _
    ByRef ppRecordset As IRecordSet, _
    ByRef ppOriginalToNewFieldMap As IPropertySet _
)
[C#]
public void ToRecordSet (
    IJSONObject pObj,
    IFields pDefaultSchema,
    IPropertySet pConversionProps,
    ref IRecordSet ppRecordset,
    ref IPropertySet ppOriginalToNewFieldMap
);
[C++]
HRESULT ToRecordSet(
  IJSONObject* pObj,
  IFields* pDefaultSchema,
  IPropertySet* pConversionProps,
  IRecordSet** ppRecordset,
  IPropertySet** ppOriginalToNewFieldMap
);
[C++]

Parameters

pObj [in]

  pObj is a parameter of type IJSONObject

pDefaultSchema [in]

  pDefaultSchema is a parameter of type IFields

pConversionProps [in]

  pConversionProps is a parameter of type IPropertySet

ppRecordset [out]

  ppRecordset is a parameter of type IRecordSet

ppOriginalToNewFieldMap [out]

  ppOriginalToNewFieldMap is a parameter of type IPropertySet

Product Availability

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

See Also

IJSONConverterGdb Interface