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 <SPAN class="operator token">=</SPAN> null<SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">int</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">]</SPAN> oIDs <SPAN class="operator token">=</SPAN> null<SPAN class="punctuation token">;</SPAN>
IFeature<SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">]</SPAN> pFeatures <SPAN class="operator token">=</SPAN> null<SPAN class="punctuation token">;</SPAN>
pDiffCursor <SPAN class="operator token">=</SPAN> vdc<SPAN class="punctuation token">.</SPAN><SPAN class="token function">extract</SPAN><SPAN class="punctuation token">(</SPAN>fcName<SPAN class="punctuation token">,</SPAN> esriDataChangeType<SPAN class="punctuation token">.</SPAN>esriDataChangeTypeUpdate<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">if</SPAN><SPAN class="punctuation token">(</SPAN>pDiffCursor <SPAN class="operator token">!=</SPAN> null<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">{</SPAN>
oIDs <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">int</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">1</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
pFeatures <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">SimpleJunctionFeature</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">1</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
pDiffCursor<SPAN class="punctuation token">.</SPAN><SPAN class="token function">next</SPAN><SPAN class="punctuation token">(</SPAN>oIDs<SPAN class="punctuation token">,</SPAN> pFeatures<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">while</SPAN><SPAN class="punctuation token">(</SPAN>oIDs<SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN> <SPAN class="operator token">!=</SPAN> <SPAN class="operator token">-</SPAN><SPAN class="number token">1</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">{</SPAN>
<SPAN class="comment token">//<-- Logic--></SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Thanks in Advance.