2 // System.Xml.XmlProcessingInstruction
5 // Kral Ferch <kral_ferch@hotmail.com>
14 public class XmlProcessingInstruction : XmlLinkedNode
21 protected internal XmlProcessingInstruction (string target, string data, XmlDocument doc) : base(doc)
39 public override string InnerText
41 get { throw new NotImplementedException (); }
42 set { throw new NotImplementedException (); }
45 public override string LocalName
47 get { return target; }
50 public override string Name
52 get { return target; }
55 public override XmlNodeType NodeType
57 get { return XmlNodeType.ProcessingInstruction; }
62 get { return target; }
65 public override string Value
70 throw new ArgumentException ("This node is read-only.");
80 public override XmlNode CloneNode (bool deep)
82 return new XmlProcessingInstruction (target, data, OwnerDocument);
85 public override void WriteContentTo (XmlWriter w) { }
87 public override void WriteTo (XmlWriter w)
89 w.WriteProcessingInstruction (target, data);