Exemplo n.º 1
0
        protected override DomNode CloneCore()
        {
            var result = OwnerDocument.CreateCDataSection(Data);

            result.CopyAnnotationsFrom(AnnotationList);
            return(result);
        }
Exemplo n.º 2
0
 // Creates a duplicate of this node.
 public override XmlNode CloneNode(bool deep)
 {
     Debug.Assert(OwnerDocument != null);
     return(OwnerDocument.CreateCDataSection(Data));
 }
 public DomCDataSection CreateCDataSection()
 {
     return(OwnerDocument.CreateCDataSection());
 }
 public DomCDataSection CreateCDataSection(string data)
 {
     return(OwnerDocument.CreateCDataSection(data));
 }
Exemplo n.º 5
0
 // Clone this node.
 public override XmlNode CloneNode(bool deep)
 {
     return(OwnerDocument.CreateCDataSection(Data));
 }