O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

XmlElement

Synopsis

This class represents an element in an XML document.

public class XmlElement : XmlLinkedNode {
// Protected Constructors
   protected internal method XmlElement(string prefix, 
        string localName, string namespaceURI, 
        XmlDocument doc);  
// Public Instance Properties
                                                              // overrides XmlNode
           public override field XmlAttributeCollection Attributes{get; } 
   public virtual field bool HasAttributes{get; } 
   public override field string InnerText{set; get; }            // overrides XmlNode
   public override field string InnerXml{set; get; }             // overrides XmlNode
   public field bool IsEmpty{set; get; } 
   public override field string LocalName{get; }                 // overrides XmlNode
   public override field string Name{get; }                      // overrides XmlNode
   public override field string NamespaceURI{get; }              // overrides XmlNode
   public override field XmlNode NextSibling{get; }              // overrides XmlLinkedNode
   public override field XmlNodeType NodeType{get; }             // overrides XmlNode
   public override field XmlDocument OwnerDocument{get; }        // overrides XmlNode
   public override field string Prefix{set; get; }               // overrides XmlNode
                  // Public Instance Methods
   public override method XmlNode CloneNode(bool deep);         // overrides XmlNode
   public virtual method string GetAttribute(string name);  
   public virtual method string GetAttribute(string localName, 
        string namespaceURI);  
   public virtual method XmlAttribute GetAttributeNode(
        string name);  
   public virtual method XmlAttribute GetAttributeNode(
        string localName, string namespaceURI); public virtual method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required