<?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: Get Route Event Layer Source Table Name in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-route-event-layer-source-table-name/m-p/629466#M16959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out the basic technique, now I need to work it up properly for my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps I figured out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Cast Carto.ILayer object to a Geodatabase.IDataset object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Get the IDataset.FullName, which is an IName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Cast the IName object to Geodatabase.IRouteEventSourceName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Get the IRouteEventSourceName.EventTableName, which is an IName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Cast the IName object to an IDatasetName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Retrieve the Name string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;((ESRI.ArcGIS.Geodatabase.IDatasetName)((ESRI.ArcGIS.Geodatabase.IRouteEventSourceName)((ESRI.ArcGIS.Geodatabase.IDataset)layer).FullName).EventTableName)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 15:26:33 GMT</pubDate>
    <dc:creator>BryanBoutz1</dc:creator>
    <dc:date>2013-02-22T15:26:33Z</dc:date>
    <item>
      <title>Get Route Event Layer Source Table Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-route-event-layer-source-table-name/m-p/629465#M16958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Desktop Add-In built with C# that provides additional UI for working with some route event data.&amp;nbsp; I want to ensure the user interaction between the map layers and the underlying data table stays connected, even if the layer name gets changed.&amp;nbsp; I also want to guaranty that the correct event layer is in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is, given a Route Event Layer, how do I use ArcObjects to access the underlying table?&amp;nbsp; Specifically, how do I get its name in the database?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 15:21:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-route-event-layer-source-table-name/m-p/629465#M16958</guid>
      <dc:creator>BryanBoutz1</dc:creator>
      <dc:date>2013-02-22T15:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get Route Event Layer Source Table Name</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/get-route-event-layer-source-table-name/m-p/629466#M16959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out the basic technique, now I need to work it up properly for my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps I figured out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Cast Carto.ILayer object to a Geodatabase.IDataset object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Get the IDataset.FullName, which is an IName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Cast the IName object to Geodatabase.IRouteEventSourceName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Get the IRouteEventSourceName.EventTableName, which is an IName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Cast the IName object to an IDatasetName object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Retrieve the Name string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;((ESRI.ArcGIS.Geodatabase.IDatasetName)((ESRI.ArcGIS.Geodatabase.IRouteEventSourceName)((ESRI.ArcGIS.Geodatabase.IDataset)layer).FullName).EventTableName)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 15:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/get-route-event-layer-source-table-name/m-p/629466#M16959</guid>
      <dc:creator>BryanBoutz1</dc:creator>
      <dc:date>2013-02-22T15:26:33Z</dc:date>
    </item>
  </channel>
</rss>

