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)
38 public override string InnerText
44 public override string LocalName
46 get { return target; }
49 public override string Name
51 get { return target; }
54 public override XmlNodeType NodeType
56 get { return XmlNodeType.ProcessingInstruction; }
61 get { return target; }
64 public override string Value
69 throw new ArgumentException ("This node is read-only.");
79 public override XmlNode CloneNode (bool deep)
81 return new XmlProcessingInstruction (target, data, OwnerDocument);
84 public override void WriteContentTo (XmlWriter w) { }
86 public override void WriteTo (XmlWriter w)
88 w.WriteProcessingInstruction (target, data);