Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlAttributeCollection Class

Represents a collection of attributes that can be accessed by name or index.

For a list of all members of this type, see XmlAttributeCollection Members.

System.Object
   System.Xml.XmlNamedNodeMap
      System.Xml.XmlAttributeCollection

[Visual Basic]
Public Class XmlAttributeCollection
   Inherits XmlNamedNodeMap
   Implements ICollection
[C#]
public class XmlAttributeCollection : XmlNamedNodeMap, ICollection
[C++]
public __gc class XmlAttributeCollection : public XmlNamedNodeMap,
   ICollection
[JScript]
public class XmlAttributeCollection extends XmlNamedNodeMap
   implements ICollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

XmlAttributeCollection extends the XmlNamedNodeMap class adding strongly typed helper methods. You can use this class to add, remove or modify attributes in the collection. XmlAttributeCollection is returned by the XmlElement.Attributes property.

Requirements

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

Assembly: System.Xml (in System.Xml.dll)

See Also

XmlAttributeCollection Members | System.Xml Namespace | Accessing Attributes in the DOM | Unordered Node Retrieval by Name or Index | XML Document Object Model (DOM) | XmlAttribute | XmlElement

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.