<?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: Using Framework reference, but can�??t access DocumentClass in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77599#M2073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've looked at the developer help for 9.3.1, 10, and 10.1 and none of them list a class named DocumentClass that implements IDocument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 19:14:09 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2013-02-21T19:14:09Z</dc:date>
    <item>
      <title>Using Framework reference, but can???t access DocumentClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77598#M2072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I???m using Visual C# 2008 Express and I???m creating an Add=in button that will display the name of the map document when clicked.&amp;nbsp; The title property is available in the Document class using the interface IDocument.&amp;nbsp; I???m using the ESRI.ArcGIS.Framework reference, but the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;protected override void OnClick() &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDocument doc = new DocumentClass(); &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcMap.Application.CurrentTool = null; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gives me the following error: ???the type or namespace name ???DocumentClass??? could not be found???.&amp;nbsp; I'm confused because this works with the MxDocumentClass and the ArcMapUI reference.&amp;nbsp; Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 18:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77598#M2072</guid>
      <dc:creator>KP</dc:creator>
      <dc:date>2013-02-21T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using Framework reference, but can�??t access DocumentClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77599#M2073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've looked at the developer help for 9.3.1, 10, and 10.1 and none of them list a class named DocumentClass that implements IDocument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 19:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77599#M2073</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2013-02-21T19:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Framework reference, but can�??t access DocumentClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77600#M2074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking at the Framework Object Model diagram(ArcGIS 10) there is a Document class( with the IDocument interface).&amp;nbsp; Doesn't that mean that there is a Document class?&amp;nbsp; And that it would be within the Framework refernce? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afriad that I'm very far off from understanding how to cast between interfaces!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 19:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77600#M2074</guid>
      <dc:creator>KP</dc:creator>
      <dc:date>2013-02-21T19:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Framework reference, but can�??t access DocumentClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77601#M2075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Document class is an abstract class (see the legend for the OMD).&amp;nbsp; Abstract classes cannot be instantiated.&amp;nbsp; The only classes you can create new instances of are listed in the help topic for IDocument (such as MxDocument).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 19:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77601#M2075</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2013-02-21T19:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using Framework reference, but can�??t access DocumentClass</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77602#M2076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; That pointed me in the right direction.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 16:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/using-framework-reference-but-can-t-access/m-p/77602#M2076</guid>
      <dc:creator>KP</dc:creator>
      <dc:date>2013-02-22T16:26:31Z</dc:date>
    </item>
  </channel>
</rss>

