GP学习(五)—ArcGIS Toolbox Reference dialog box

声明:仅做自己学习整理用,内容拷贝自ArcEngine SDK开发文档

ArcGIS Toolbox Reference dialog box


Summary The ArcGIS Toolbox Reference dialog box—part of the ArcGIS Visual Studio integrated development environment (IDE) Integration Framework—allows you to create a managed assembly for a custom ArcGIS toolbox, with one class representing each geoprocessing tool in the toolbox. You can then use these classes to set up and run geoprocessing tools. 

Toolbox and assembly options

To open the ArcGIS Toolbox Reference dialog box, select ArcGIS Toolbox Reference from the Project menu. Alternatively, right-click the Project node in Solution Explorer (you can also right-click the References node). See the following screen shot:
The following explains the toolbox and assembly options in the dialog box:
  • Toolbox—The path name of the toolbox for the generated assembly. Click the browse button (…) to navigate to the location of the toolbox file (.tbx).
  • Generated Assembly Name—Choose the output file name for the generated assembly; by default, the file name is the name of the selected toolbox.
  • Generated Assembly Namespace—Specify the default namespace of the assembly and its types; by default, it is the same as the assembly name.
  • Generated Assembly Version—Choose the version number for the generated assembly. The version must use the standard .NET four-part version string format. For more information, see Assembly Versioning on the Microsoft Developer Network (MSDN) Web site.
  • Sign the Generated Assembly—Select this check box to sign the generated assembly with a strong name. In general, you should sign your assemblies with a strong name. For more information, see the previously mentioned Assembly Versioning on the MSDN Web site.
  • Keyfile—The path name of the keyfile for the signed assembly. Click the browse button (…) to navigate to the keyfile.
  • Delay Sign—Select this check box to indicate if the generated assembly should be delay signed.
If you do not select the Delay Sign check box, the keyfile should contain a public and private key pair. Otherwise, the keyfile only needs to contain the public key of the key pair and must be fully signed at a later stage. For more information about signing and delay signing assemblies, see  Programming with Assemblies on the MSDN Web site.
Once the managed assembly for the custom ArcGIS toolbox is generated and added as a reference to your project, you can start writing .NET code to use the classes that have been mapped to the appropriate geoprocessing tools defined in the toolbox file. The created geoprocessing classes are used in conjunction with the geoprocessor class in the managed  ESRI.ArcGIS.Geoprocessor Namespace. For more information, see  Using geoprocessing.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值