Select to view content in your preferred language

Order of records returned by VersionDataChanges extract

492
0
08-10-2020 02:38 AM
SrikanthHemadri
Emerging Contributor

Hi,

I am working on getting the version differences using below code. This is just part of the actual code. Problem here is I am not able to understand the order in which the IDifferenceCursor will fetch the records. Can someone please tell the order in which the cursor will return the records.

IDifferenceCursor pDiffCursor = null;
int[] oIDs = null;
IFeature[] pFeatures = null;

pDiffCursor = vdc.extract(fcName, esriDataChangeType.esriDataChangeTypeUpdate);

if(pDiffCursor != null){

    oIDs = new int[1];
    pFeatures = new SimpleJunctionFeature[1];

    pDiffCursor.next(oIDs, pFeatures);

    while(oIDs[0] != -1){

        //<-- Logic-->

    }
}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

Thanks in Advance.

0 Kudos
0 Replies