查看: 2431|回复: 0

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

[复制链接]

4

主题

3

回帖

40

积分

管理员

积分
40
发表于 2018-8-1 14:05:15 | 显示全部楼层 |阅读模式

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

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

×

0 U; `2 O' ~1 M4 |5 ?
2 a0 g' f6 d  b3 T: _/ T7 O, Z3 U2 {" U0 v  @
Technique  
7 B- `! c1 e) k0 g, `Edit the method-config.xml file located in the Server folder for the Aras Innovator
% ]- q9 `" X" vinstall.  Search for the  <Template>  tag for the language you are using and include any
$ `2 A$ S; }# }9 nadditional namespaces you need by adding additional "using" lines.
+ K% ?$ I' H9 g<Template name="CSharp" line_number_offset="19"> % z# c6 ~+ B9 [8 @4 |8 A( m

+ d0 }) V5 ]2 J, ~using System.Text; ' f$ p, ^: a0 a4 m: Z/ b
* u( a. ~% h! [1 i! Z. Z0 u7 @
// Now you can use the System.Text.UTF8Encoding method in your Method.
* h0 h( b  G+ K! mbyte[] info = new UTF8Encoding(true).GetBytes(this.dom.InnerXml);  
5 n7 T9 i% g+ P/ L/ D- B7 M3 O* ?/ Q. n
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

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

本版积分规则

在本版发帖
关注公众号
QQ客服返回顶部