Exemple #1
0
        protected override DomNode CloneCore()
        {
            var result = OwnerDocument.CreateCDataSection(Data);

            result.CopyAnnotationsFrom(AnnotationList);
            return(result);
        }
Exemple #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));
 }
Exemple #5
0
 // Clone this node.
 public override XmlNode CloneNode(bool deep)
 {
     return(OwnerDocument.CreateCDataSection(Data));
 }