<?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 Multiple selected objects - C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/multiple-selected-objects-c/m-p/624448#M16802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For examle, i have attribute table with very many rows. How to get object ID from selected rows in this table?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 18:16:55 GMT</pubDate>
    <dc:creator>RustamTimerbaev</dc:creator>
    <dc:date>2012-05-15T18:16:55Z</dc:date>
    <item>
      <title>Multiple selected objects - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/multiple-selected-objects-c/m-p/624448#M16802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For examle, i have attribute table with very many rows. How to get object ID from selected rows in this table?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 18:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/multiple-selected-objects-c/m-p/624448#M16802</guid>
      <dc:creator>RustamTimerbaev</dc:creator>
      <dc:date>2012-05-15T18:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selected objects - C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/multiple-selected-objects-c/m-p/624449#M16803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Look at this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;List&amp;lt;int&amp;gt; RecArray = new List&amp;lt;int&amp;gt;(); IQueryFilter pSDEQueryFilter = new QueryFilterClass(); pSDEQueryFilter.WhereClause = "enter the selection criteria here" //For example population &amp;gt; 50000 IFeatureCursor pSDEFeatureCursor; IFeature pSDEFeature; pSpatialWorkSpace = GetWorkSpace(m_GDBType); //Method that uses the code pattern for getting a geodatabase workspace.&amp;nbsp; Code for this not included. IFeatureWorkspace pSDEFeatureWorkspace = (IFeatureWorkspace)pSpatialWorkSpace; IFeatureClass pSDEFeatureClass = pSDEFeatureWorkspace.OpenFeatureClass("the name of a feature class"); //Get a record count int SDE_TotalRecCount = pSDEFeatureClass.FeatureCount(pSDEQueryFilter); //Set up the cursor and get the results pSDEFeatureCursor = pSDEFeatureClass.Search(pSDEQueryFilter, true); pSDEFeature = pSDEFeatureCursor.NextFeature(); while (pSDEFeature != null)&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecArray.Add(Convert.ToInt32(pSDEFeature.get_Value(pSDEFeature.Fields.FindField("OID")))); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pSDEFeature = pSDEFeatureCursor.NextFeature();&amp;nbsp; } &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 06:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/multiple-selected-objects-c/m-p/624449#M16803</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2012-05-22T06:33:57Z</dc:date>
    </item>
  </channel>
</rss>

