<?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 Re: Find object on map in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70971#M1901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;no, from arcmap i just take map templates... when i create standart arcengine app i add to toolbox elements such as map inquiry// find ... when i built app and click on button find ---&amp;gt; a little window appears where i can write name of city which i want find, etc. so i need smth like this "find" but modify a little..)) i think you understand me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on your graphic break it down logically.&amp;nbsp; You need a form that shows the feature fields available and a textbox to input a search term. You can use IFeatureClass.Fields.get_Field() and .FieldCount to loop over the layer and get the fields for the combobox and then use the field name the user selects and the text they type in the textbox to build a where clause and search using the code I've already detailed. If you need help building a form and getting input from it then go look for more general programming sites - that's not really an ArcGis issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 13:55:45 GMT</pubDate>
    <dc:creator>GeorgeFaraj</dc:creator>
    <dc:date>2012-03-28T13:55:45Z</dc:date>
    <item>
      <title>Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70966#M1896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where i can find sourcecode for finding objects on map in ArcEngine? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i need this option in my application but in some modify type&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is very important!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Mar 2012 15:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70966#M1896</guid>
      <dc:creator>RomanChyzh</dc:creator>
      <dc:date>2012-03-25T15:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70967#M1897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello &lt;BR /&gt;Where i can find sourcecode for finding objects on map in ArcEngine? &lt;BR /&gt;i need this option in my application but in some modify type&lt;BR /&gt;&lt;BR /&gt;Please help me &lt;BR /&gt;It is very important!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how you do a search to return an IFeatureCursor so you can iterate thru the found records:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IFeatureClass featureClass = featureLayerToSearch.FeatureClass; string filterClause = "Name = 'London'"; IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.WhereClause = filterClause; IFeatureCursor featureCursor = featureClass.Search( queryFilter, true );&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read up on each of these objects and you should be able to figure out how to vary your code to get what you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 17:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70967#M1897</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-03-27T17:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70968#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is how you do a search to return an IFeatureCursor so you can iterate thru the found records:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
IFeatureClass featureClass = featureLayerToSearch.FeatureClass;
string filterClause = "Name = 'London'";
IQueryFilter queryFilter = new QueryFilterClass();
queryFilter.WhereClause = filterClause;
IFeatureCursor featureCursor = featureClass.Search( queryFilter, true );
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Read up on each of these objects and you should be able to figure out how to vary your code to get what you want.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt; thank you &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but how i can iterate thru records..? and can i write the city's name&amp;nbsp; in textbox? i try do this with textbox but not successful&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70968#M1898</guid>
      <dc:creator>RomanChyzh</dc:creator>
      <dc:date>2021-12-10T22:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70969#M1899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;span class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;😮&lt;/span&gt; thank you &lt;BR /&gt;&lt;BR /&gt;but how i can iterate thru records..? and can i write the city's name&amp;nbsp; in textbox? i try do this with textbox but not successful&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't really know about ArcMap.&amp;nbsp; I only use ArcEngine. So I can't offer direction on the ArcMap user interface. I thought you wanted help on ArcEngine programming.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want programming help then look up IFeatureCursor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IFeatureCursor_Interface/0025000002vs000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IFeatureCursor_Interface/0025000002vs000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 18:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70969#M1899</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-03-27T18:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70970#M1900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Don't really know about ArcMap.&amp;nbsp; I only use ArcEngine. So I can't offer direction on the ArcMap user interface. I thought you wanted help on ArcEngine programming.&lt;BR /&gt;&lt;BR /&gt;If you want programming help then look up IFeatureCursor:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IFeatureCursor_Interface/0025000002vs000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IFeatureCursor_Interface/0025000002vs000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no, from arcmap i just take map templates... when i create standart arcengine app i add to toolbox elements such as map inquiry// find ... when i built app and click on button find ---&amp;gt; a little window appears where i can write name of city which i want find, etc. so i need smth like this "find" but modify a little..)) i think you understand me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 21:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70970#M1900</guid>
      <dc:creator>RomanChyzh</dc:creator>
      <dc:date>2012-03-27T21:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find object on map</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70971#M1901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;no, from arcmap i just take map templates... when i create standart arcengine app i add to toolbox elements such as map inquiry// find ... when i built app and click on button find ---&amp;gt; a little window appears where i can write name of city which i want find, etc. so i need smth like this "find" but modify a little..)) i think you understand me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on your graphic break it down logically.&amp;nbsp; You need a form that shows the feature fields available and a textbox to input a search term. You can use IFeatureClass.Fields.get_Field() and .FieldCount to loop over the layer and get the fields for the combobox and then use the field name the user selects and the text they type in the textbox to build a where clause and search using the code I've already detailed. If you need help building a form and getting input from it then go look for more general programming sites - that's not really an ArcGis issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 13:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-object-on-map/m-p/70971#M1901</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2012-03-28T13:55:45Z</dc:date>
    </item>
  </channel>
</rss>

