Skip to Main Content
C# in a Nutshell
book

C# in a Nutshell

by Ben Albahari, Ted Neward, Peter Drayton
March 2002
Intermediate to advanced content levelIntermediate to advanced
864 pages
31h 8m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 8.0 in a Nutshell

C# 8.0 in a Nutshell

Joseph Albahari, Eric Johannsen
C# 10 in a Nutshell

C# 10 in a Nutshell

Joseph Albahari
C# in a Nutshell, Second Edition

C# in a Nutshell, Second Edition

Peter Drayton, Ben Albahari, Ted Neward
Code like a Pro in C#

Code like a Pro in C#

Jort Rodenburg

Publisher Resources

ISBN: 0596001819Catalog PageErrata