PLM之家PLMHome-工业软件与AI结合践行者

【Aras二次开发】如何添加确实的命名空间

[复制链接]

2018-8-1 14:05:15 2364 0

admin 发表于 2018-8-1 14:05:15 |阅读模式

admin 楼主

2018-8-1 14:05:15

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
* G9 o8 o7 K9 r8 H( q
9 v0 [! a; H5 J+ B. @  r1 t
( o4 O0 @' @2 X1 Q
Technique  
4 R: h$ F7 w6 g' ~5 MEdit the method-config.xml file located in the Server folder for the Aras Innovator * J" T9 L6 `. L$ k' z
install.  Search for the  <Template>  tag for the language you are using and include any / F2 @9 e6 j; }5 t4 T$ x" G
additional namespaces you need by adding additional "using" lines. 1 e6 U3 `8 B# P
<Template name="CSharp" line_number_offset="19">
+ l: u7 m% \8 [! ]4 m
" n7 S: v# X' Z: M. }using System.Text; 1 j% _! x  P( N9 P+ O0 b) f
8 t6 ]- [) K+ Q% S5 \3 _6 Z
// Now you can use the System.Text.UTF8Encoding method in your Method.
- O# b3 A0 t2 N" ]( ?byte[] info = new UTF8Encoding(true).GetBytes(this.dom.InnerXml);  3 K4 j0 X) k# Q" d! J$ b" E# p* n
& u2 L1 S- O; b# k9 D
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了