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


IExternalSerializerGdb2.WriteRecordSetEx2 Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IExternalSerializerGdb2.WriteRecordSetEx2 Method

Writes feature recordset for both JSON and GeoJSON format and returns number of records serialized.

[Visual Basic .NET]
Public Sub WriteRecordSetEx2 ( _
    ByVal propname As String, _
    ByVal pRecordset As IRecordSet, _
    ByVal pGeomOpt As IGeometryResultOptions, _
    ByVal pOutSRS As ISpatialReference, _
    ByRef recordsSerialized As Integer _
)
[C#]
public void WriteRecordSetEx2 (
    string propname,
    IRecordSet pRecordset,
    IGeometryResultOptions pGeomOpt,
    ISpatialReference pOutSRS,
    ref int recordsSerialized
);
[C++]
HRESULT WriteRecordSetEx2(
  BSTR propname,
  IRecordSet* pRecordset,
  IGeometryResultOptions* pGeomOpt,
  ISpatialReference* pOutSRS,
  System.Int32* recordsSerialized
);
[C++]

Parameters propname [in]
propname is a parameter of type BSTR pRecordset [in]
pRecordset is a parameter of type IRecordSet* pGeomOpt [in]
pGeomOpt is a parameter of type IGeometryResultOptions* pOutSRS [in]
pOutSRS is a parameter of type ISpatialReference* recordsSerialized [out]
recordsSerialized is a parameter of type long*

Product Availability

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

See Also

IExternalSerializerGdb2 Interface