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

XmlAttribute

Synopsis

This class represents a single attribute of an element. The OwnerElement property returns the element node that contains this attribute. The Specified property indicates if the value was explicitly set or if a default value was used.

public class XmlAttribute : XmlNode {
// Protected Constructors
   protected internal method XmlAttribute(string prefix, 
        string localName, string namespaceURI, 
        XmlDocument doc);  
// Public Instance Properties
   public override field string BaseURI{get; }                   // overrides XmlNode
   public override field string InnerText{set; get; }            // overrides XmlNode
   public override field string InnerXml{set; get; }             // overrides XmlNode
   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 XmlNodeType NodeType{get; }             // overrides XmlNode
   public override field XmlDocument OwnerDocument{get; }        // overrides XmlNode
   public virtual field XmlElement OwnerElement{get; } 
   public override field XmlNode ParentNode{get; }               // overrides XmlNode
   public override field string Prefix{set; get; }               // overrides XmlNode
   public virtual field bool Specified{get; } 
   public override field string Value{set; get; }                // overrides XmlNode
                  // Public Instance Methods
   public override method XmlNode CloneNode(bool deep);         // overrides XmlNode
   public override method void WriteContentTo(XmlWriter w);     // overrides XmlNode public ...

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