<?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: How to cast? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-cast/m-p/345938#M9123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Referring to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//003100000138000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//003100000138000000&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IRouteLocatorName pRtLocatorName = new RouteMeasureLocatorNameClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 17:14:54 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2013-09-24T17:14:54Z</dc:date>
    <item>
      <title>How to cast?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-cast/m-p/345937#M9122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Referrring to the code at&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://edndoc.esri.com/arcobjects/9.0/Samples/Linear_Referencing/Arcmap/FindPointRouteLocation.htm" rel="nofollow" target="_blank"&gt;http://edndoc.esri.com/arcobjects/9.0/Samples/Linear_Referencing/Arcmap/FindPointRouteLocation.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim pRtLocName As IRouteLocatorName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pRtLocName = New RouteMeasureLocatorName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to do like that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ESRI.ArcGIS.Geodatabase.IRouteLocatorName pRtLocatorName = new ESRI.ArcGIS.Location.RouteMeasureLocatorName();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but got the compile error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot implicitly convert type 'ESRI.ArcGIS.Location.RouteMeasureLocatorName' to 'ESRI.ArcGIS.Geodatabase.IRouteLocatorName'. An explicit conversion exists (are you missing a cast?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to cast but not successful.&amp;nbsp; How to cast the variable here?&amp;nbsp; Thanks for your hint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 17:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-cast/m-p/345937#M9122</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-09-24T17:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to cast?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-cast/m-p/345938#M9123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Referring to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//003100000138000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//003100000138000000&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IRouteLocatorName pRtLocatorName = new RouteMeasureLocatorNameClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 17:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-cast/m-p/345938#M9123</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-09-24T17:14:54Z</dc:date>
    </item>
  </channel>
</rss>

