在Flex中添加XML到ASDoc函数评论?
-
14-11-2019 - |
题
如何将示例XML添加到Flex中的Asdoc函数/类评论?显然可以添加它们,但它们不会在Flash Builder 4中的Hover Asdoc评论中显示出来。
/**
* Generates a ChangeAccount in xml format when they are being saved
*
* <p>Will be in the following form
* Use http://xmlindent.com/ to view pretty xml format)
*
* <ChangeAccount History="w" Alias="transaction".............
* </p>
*
* @return XML
*/
public function get xml():XML
{
}
. 解决方案
Escape the '<' and '>' with & lt; and & gt; ( Note: remove the spaces )
& lt;ChangeAccount History="w" Alias="transaction"............. /& gt;
不隶属于 StackOverflow