[英]Enterprise Architect Exception on reading element.notes
I am currently working with reading the requirement element's description using EA C# add-in. 我目前正在使用EA C#加载项阅读需求元素的描述。 The requirement element is shown below:
需求元素如下所示:
I had read these notes from excel and written it as description for the requirement element. 我已经阅读了excel的这些说明,并将其作为对需求元素的描述。 When I try to fetch these notes and write it back to excel using the element.Notes API I am getting below exception and notes is returning NULL value.
当我尝试获取这些便笺并使用element.Notes API将其写回到excel时,我遇到了以下异常,并且便笺返回了NULL值。
When checking in excel I found that a group separator is present between the >> symbol and full stop in demo>>. 在excel中签入时,我发现>>符号和demo >>中的句号之间存在组分隔符。
Kindly help. 请帮助。 Thanks in advance.
提前致谢。
Did you try GetFormatFromField of repository class . 您是否尝试过存储库类的GetFormatFromField 。
Something like 就像是
// for getting plain text from EA
> Repository.GetFormatFromField("TXT",theElement.Notes);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.