Esempio n. 1
0
        //============================================================
        // <T>在当前元素下,创建一个描述对象。</T>
        //
        // @return 描述对象
        //============================================================
        public FXmlComment CreateComment()
        {
            FXmlComment comment = _document.NodeFactory.CreateComment();

            Elements.Push(comment);
            return(comment);
        }
Esempio n. 2
0
        //============================================================
        // <T>创建文档注释。</T>
        //
        // @return 注释节点
        //============================================================
        public FXmlComment CreateComment()
        {
            FXmlComment comment = new FXmlComment();

            comment._document = _document;
            return(comment);
        }