<?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 FeatureSet.ObjectIDs in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66466#M1665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a query completed event, where e is a QueryEventArgs, how can the following be true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;?e.FeatureSet.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?e.FeatureSet.ObjectIDs.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't the ObjectIDs property of a FeatureSet an IEnumerable(of Object) representing the Object IDs of the query result?&amp;nbsp; I'm trying to do a ExecuteRelationshipQueryAsync with a RelationshipParameter that contains all the same Object IDs as the query result, basically get all the records from a related table that correspond to a query result.&amp;nbsp; Seems like a lot of legwork to manually construct a new IEnumerble(Of Integer) to populate the RelationshipParameter.ObjectIDs.&amp;nbsp; Why not just RelationshipParameter.ObjectIDs = FeatureSet.ObjectIDs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ted Chapin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Mar 2011 12:45:25 GMT</pubDate>
    <dc:creator>TedChapin</dc:creator>
    <dc:date>2011-03-19T12:45:25Z</dc:date>
    <item>
      <title>FeatureSet.ObjectIDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66466#M1665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a query completed event, where e is a QueryEventArgs, how can the following be true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;?e.FeatureSet.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?e.FeatureSet.ObjectIDs.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't the ObjectIDs property of a FeatureSet an IEnumerable(of Object) representing the Object IDs of the query result?&amp;nbsp; I'm trying to do a ExecuteRelationshipQueryAsync with a RelationshipParameter that contains all the same Object IDs as the query result, basically get all the records from a related table that correspond to a query result.&amp;nbsp; Seems like a lot of legwork to manually construct a new IEnumerble(Of Integer) to populate the RelationshipParameter.ObjectIDs.&amp;nbsp; Why not just RelationshipParameter.ObjectIDs = FeatureSet.ObjectIDs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ted Chapin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2011 12:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66466#M1665</guid>
      <dc:creator>TedChapin</dc:creator>
      <dc:date>2011-03-19T12:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet.ObjectIDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66467#M1666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just discovered that if the Query.ReturnIdsOnly property is set to True, then the ObjectIDs property of the FeatureSet of the result is populated, but the features themselves are not.&amp;nbsp; If this property if False, then you get features but not the ObjectIDs.&amp;nbsp; Weird.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I manually created a List(of Integer), looped through the FeatureSet and added the object ID's using feature.Attributes("OBJECTID").&amp;nbsp; Not my favorite approach but it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ted Chapin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2011 13:58:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66467#M1666</guid>
      <dc:creator>TedChapin</dc:creator>
      <dc:date>2011-03-19T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSet.ObjectIDs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66468#M1667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you have observed is correct and is documented in REST API: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/query.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/query.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 18:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featureset-objectids/m-p/66468#M1667</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-03-21T18:42:00Z</dc:date>
    </item>
  </channel>
</rss>

