Interface IExternalSerializerGdb
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides high-level serialization methods for AMF and JSON formats.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("EED3EEA0-A5A5-49E8-B23C-BA29AE21D3DA")]
public interface IExternalSerializerGdb
Methods
GetErrorObject(string, int, string, IStringArray)
Convenience method. Creates and returns error object as byte SAFEARRAY.
byte[] GetErrorObject(string propname, int Code, string Message, IStringArray details)
Parameters
propnamestringCodeintMessagestringdetailsIStringArray
Returns
- byte[]
WriteErrorObject(string, int, string, IStringArray)
Writes error object.
void WriteErrorObject(string propname, int Code, string Message, IStringArray details)
Parameters
propnamestringCodeintMessagestringdetailsIStringArray
WriteGeometry(string, IGeometry)
Writes geometry object.
void WriteGeometry(string propname, IGeometry pGeom)
Parameters
WriteRecordSet(string, IRecordSet, IGeometryResultOptions)
Writes feature recordset.
void WriteRecordSet(string propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt)
Parameters
propnamestringpRecordsetIRecordSetpGeomOptIGeometryResultOptions
WriteRow(string, IRow, IFields, int[], IGeometryResultOptions)
Writes feature row object
void WriteRow(string propname, IRow pRow, IFields pFields, int[] rowFieldIndexes, IGeometryResultOptions pGeomOpt)
Parameters
propnamestringpRowIRowpFieldsIFieldsrowFieldIndexesint[]pGeomOptIGeometryResultOptions
WriteSpatialReference(string, ISpatialReference)
Writes spatial reference object. Pass NULL as propname to write standalone JSON object.
void WriteSpatialReference(string propname, ISpatialReference pSR)
Parameters
propnamestringpSRISpatialReference