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)
41 public override string InnerText
47 public override string LocalName
49 get { return target; }
52 public override string Name
54 get { return target; }
57 public override XmlNodeType NodeType
59 get { return XmlNodeType.ProcessingInstruction; }
64 get { return target; }
67 public override string Value
72 throw new ArgumentException ("This node is read-only.");
82 public override XmlNode CloneNode (bool deep)
84 return new XmlProcessingInstruction (target, data, OwnerDocument);
87 public override void WriteContentTo (XmlWriter w) { }
89 public override void WriteTo (XmlWriter w)
91 w.WriteProcessingInstruction (target, data);