Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

please refer to delft-tools\sandbox\ArcGisProjects\DesktopExtensions 

The relevant code is

Wiki Markuppublic class ArcViewOnlyExtension : IExtension, IExtensionConfig {    void
{
   void ExecuteContextArcMfe_Delft3d(object sender, EventArgs e)    {{       // Note this code will only work with plugins that implement the PluginsExtPublicCmd       // COM object.  *     COMObjectLateBinding cnet = new
   {{
      // Note this code will only work with plugins that implement the PluginsExtPublicCmd
      // COM object.
      COMObjectLateBinding cnet = new COMObjectLateBinding("ArcMfe_Delft3d.PluginsExtPublicCmd");* *     
      cnet.Execute("executeCmd", new object\[\] {{ "een opdrachtje", "en de aansturing" });*    }   
   }
   ...
}

a simple wrapper class COMObjectLateBinding is used.