Represents an element.
For a list of all members of this type, see XmlElement Members.
[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 thread safe. 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.
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
Assembly: System.Xml (in System.Xml.dll)