Represents an element.
For a list of all members of this type, see XmlElement Members.
System.Object
System.Xml.XmlNode
System.Xml.XmlLinkedNode
System.Xml.XmlElement
[Visual Basic] Public Class XmlElement Inherits XmlLinkedNode [C#] public class XmlElement : XmlLinkedNode [C++] public __gc class XmlElement : public XmlLinkedNode [JScript] public class XmlElement extends XmlLinkedNode
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Elements are one of the most common nodes in the W3C Document Object Model (DOM). Elements can have attributes associated with them. The XmlElement class has many methods for accessing attributes (GetAttribute, SetAttribute, RemoveAttribute, GetAttributeNode, and so on). You can also use the Attributes property which returns an XmlAttributeCollection enabling you to access attributes by name or index from the collection.
Namespace: System.Xml
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET
Assembly: System.Xml (in System.Xml.dll)
XmlElement Members | System.Xml Namespace | XmlDocument.CreateElement |