System.Xml (system.xml.dll) | class |
This class represents an element
in an XML document.
public class XmlElement : XmlLinkedNode {
// Protected Constructors
protected internal XmlElement(string prefix, string localName, string namespaceURI,
XmlDocument doc);
// Public Instance Properties
public override XmlAttributeCollection Attributes{get; }
// overrides XmlNode
public virtual bool HasAttributes{get; }
public override string InnerText{set; get; }
// overrides XmlNode
public override string InnerXml{set; get; }
// overrides XmlNode
public bool IsEmpty{set; get; }
public override string LocalName{get; }
// overrides XmlNode
public override string Name{get; }
// overrides XmlNode
public override string NamespaceURI{get; }
// overrides XmlNode
public override XmlNode NextSibling{get; }
// overrides XmlLinkedNode
public override XmlNodeType NodeType{get; }
// overrides XmlNode
public override XmlDocument OwnerDocument{get; }
// overrides XmlNode
public override string Prefix{set; get; }
// overrides XmlNode
// Public Instance Methods
public override XmlNode CloneNode(bool deep);
// overrides XmlNode
public virtual string GetAttribute(string name);
public virtual string GetAttribute(string localName, string namespaceURI);
public virtual XmlAttribute GetAttributeNode(string name);
public virtual XmlAttribute GetAttributeNode(string localName, string namespaceURI);
public virtual XmlNodeList GetElementsByTagName(string name);
public virtual XmlNodeList GetElementsByTagName(string localName, string namespaceURI);
public virtual bool HasAttribute(string name);
public virtual bool HasAttribute(string localName, string namespaceURI);
public override void RemoveAll( );
// overrides XmlNode
public virtual void RemoveAllAttributes( );
public virtual void RemoveAttribute(string name);
public virtual void RemoveAttribute(string localName, string namespaceURI);
public virtual XmlNode RemoveAttributeAt(int i);
public virtual XmlAttribute RemoveAttributeNode(string localName, string namespaceURI);
public virtual XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr);
public virtual string SetAttribute(string localName, string namespaceURI, string value);
public virtual void SetAttribute(string name, string value);
public virtual XmlAttribute SetAttributeNode(string localName, string namespaceURI);
public virtual XmlAttribute SetAttributeNode(XmlAttribute newAttr);
public override void WriteContentTo(XmlWriter w);
// overrides XmlNode
public override void WriteTo(XmlWriter w);
// overrides XmlNode
}
Hierarchy
System.Object
XmlNode(System.ICloneable,
System.Collections.IEnumerable,
System.Xml.XPath.IXPathNavigable)
XmlLinkedNode
XmlElement
Returned By
XmlAttribute.OwnerElement,
XmlDataDocument.GetElementFromRow( ),
XmlDocument.{CreateElement( ),
DocumentElement, GetElementById(
)}, XmlNode.this
Passed To
XmlDataDocument.GetRowFromElement( )
|