<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to use  IRelClassEnumRowPairs in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-irelclassenumrowpairs/m-p/487975#M18906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to find a use example about&amp;nbsp;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/api/arcobjects/com/esri/arcgis/geodatabase/IRelClassEnumRowPairs.html" style="color: #106790; background-color: #ffffff; text-decoration: none; font-size: 9pt;" title="interface in com.esri.arcgis.geodatabase"&gt;IRelClassEnumRowPairs&lt;/A&gt;, but could not find any example online. Based on the interface information about&amp;nbsp;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/api/arcobjects/com/esri/arcgis/geodatabase/IRelClassEnumRowPairs.html" style="color: #106790; background-color: #ffffff; text-decoration: none; font-size: 9pt;" title="interface in com.esri.arcgis.geodatabase"&gt;IRelClassEnumRowPairs&lt;/A&gt;, I wrote the code below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim pEnumRowPairs As IRelClassEnumRowPairs&lt;/P&gt;&lt;P&gt;//Assuming pVSet has already been populated&lt;BR /&gt; pEnumRowPairs = pRelClass.GetObjectsMatchingObjectSet(pVSet)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim sourceRow As RowClass = New ESRI.ArcGIS.Geodatabase.Row&lt;BR /&gt; Dim targetRow As RowClass = New ESRI.ArcGIS.Geodatabase.Row&lt;/P&gt;&lt;P&gt;pEnumRowPairs.Next(sourceRow, targetRow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it throws COMException on the last call. Could anyone provide an example here on how to loop through and retrieve data from&amp;nbsp;&lt;SPAN&gt;IRelClassEnumRowPairs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Nov 2019 03:10:41 GMT</pubDate>
    <dc:creator>RayWu</dc:creator>
    <dc:date>2019-11-10T03:10:41Z</dc:date>
    <item>
      <title>how to use  IRelClassEnumRowPairs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-irelclassenumrowpairs/m-p/487975#M18906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to find a use example about&amp;nbsp;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/api/arcobjects/com/esri/arcgis/geodatabase/IRelClassEnumRowPairs.html" style="color: #106790; background-color: #ffffff; text-decoration: none; font-size: 9pt;" title="interface in com.esri.arcgis.geodatabase"&gt;IRelClassEnumRowPairs&lt;/A&gt;, but could not find any example online. Based on the interface information about&amp;nbsp;&lt;A href="http://resources.esri.com/help/9.3/ArcGISEngine/java/api/arcobjects/com/esri/arcgis/geodatabase/IRelClassEnumRowPairs.html" style="color: #106790; background-color: #ffffff; text-decoration: none; font-size: 9pt;" title="interface in com.esri.arcgis.geodatabase"&gt;IRelClassEnumRowPairs&lt;/A&gt;, I wrote the code below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim pEnumRowPairs As IRelClassEnumRowPairs&lt;/P&gt;&lt;P&gt;//Assuming pVSet has already been populated&lt;BR /&gt; pEnumRowPairs = pRelClass.GetObjectsMatchingObjectSet(pVSet)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim sourceRow As RowClass = New ESRI.ArcGIS.Geodatabase.Row&lt;BR /&gt; Dim targetRow As RowClass = New ESRI.ArcGIS.Geodatabase.Row&lt;/P&gt;&lt;P&gt;pEnumRowPairs.Next(sourceRow, targetRow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it throws COMException on the last call. Could anyone provide an example here on how to loop through and retrieve data from&amp;nbsp;&lt;SPAN&gt;IRelClassEnumRowPairs.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2019 03:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-irelclassenumrowpairs/m-p/487975#M18906</guid>
      <dc:creator>RayWu</dc:creator>
      <dc:date>2019-11-10T03:10:41Z</dc:date>
    </item>
  </channel>
</rss>

