<?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: Documentation error in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717383#M19112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're confusing two different things.&amp;nbsp; The first thing you posted is the declaration of the delegate to be used when wiring the event.&amp;nbsp; The second thing is the interface definition.&amp;nbsp; IActiveViewEvents is an "outgoing" interface (also called an event interface).&amp;nbsp; In COM programming, events are defined as methods on an event interface.&amp;nbsp; Classes that need to expose these events do so by implementing the event interface.&amp;nbsp; Here's an article that might help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.codeproject.com/KB/COM/TEventHandler.aspx"&gt;http://www.codeproject.com/KB/COM/TEventHandler.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2011 13:01:50 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2011-09-01T13:01:50Z</dc:date>
    <item>
      <title>Documentation error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717380#M19109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Documentation:&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/ItemAdded_Event/0012000001m1000000/"&gt;IActiveViewEvents.ItemAdded Event&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[C#]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public event ItemAddedEventHandler ItemAdded&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Reality:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;// Summary:&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Provides access to events that occur when the state of the active view changes.&lt;BR /&gt;[Guid("E79C5940-52DD-11D0-98BE-00805F7CED21")]&lt;BR /&gt;[InterfaceType(1)]&lt;BR /&gt;[TypeLibType(256)]&lt;BR /&gt;public interface IActiveViewEvents&lt;BR /&gt;{&lt;BR /&gt; ...&lt;BR /&gt; //&lt;BR /&gt; // Summary:&lt;BR /&gt; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fired when an item is added to the view.&lt;BR /&gt; void ItemAdded(object Item);&lt;BR /&gt; ...&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And how I'm supposed to use IActiveViewEvents?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 08:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717380#M19109</guid>
      <dc:creator>DmitrySharov</dc:creator>
      <dc:date>2011-09-01T08:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717381#M19110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure where you're seeing an error.&amp;nbsp; You've posted the delegate declaration as well as the interface declaration.&amp;nbsp; Those are two different things.&amp;nbsp; If you need information on how to wire ArcObjects events in .NET then refer to this help page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_wire_ArcObjects_NET_events/0001000002p3000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_wire_ArcObjects_NET_events/0001000002p3000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 12:22:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717381#M19110</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-09-01T12:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717382#M19111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is, that by documentation ItemAdded is &lt;/SPAN&gt;&lt;STRONG&gt;event&lt;/STRONG&gt;&lt;SPAN&gt;, but actually in object browser ItemAdded is &lt;/SPAN&gt;&lt;STRONG&gt;method&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 12:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717382#M19111</guid>
      <dc:creator>DmitrySharov</dc:creator>
      <dc:date>2011-09-01T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation error</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717383#M19112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're confusing two different things.&amp;nbsp; The first thing you posted is the declaration of the delegate to be used when wiring the event.&amp;nbsp; The second thing is the interface definition.&amp;nbsp; IActiveViewEvents is an "outgoing" interface (also called an event interface).&amp;nbsp; In COM programming, events are defined as methods on an event interface.&amp;nbsp; Classes that need to expose these events do so by implementing the event interface.&amp;nbsp; Here's an article that might help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.codeproject.com/KB/COM/TEventHandler.aspx"&gt;http://www.codeproject.com/KB/COM/TEventHandler.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 13:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/documentation-error/m-p/717383#M19112</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-09-01T13:01:50Z</dc:date>
    </item>
  </channel>
</rss>

