Name

XmlAttributeCollection

Synopsis

This class defines a collection of attributes for an XmlElement node. An XmlAttributeCollection is returned by the XmlElement.Attributes property. The collection contains XmlAttribute objects that can be specified by either an object name or a zero-based index. Attribute nodes can be added and removed from the collection with methods, such as InsertBefore(), InsertAfter(), Prepend(), and RemoveAt().

Public Class XmlAttributeCollection : Inherits XmlNamedNodeMap : Implements ICollection
' Public Instance Properties
   Overridable Public Default ReadOnly Property ItemOf(
        ByVal localName As String, 
        ByVal namespaceURI As String) As XmlAttribute  
   Overridable Public Default ReadOnly Property ItemOf(
        ByVal name As String) As XmlAttribute  
   Overridable Public Default ReadOnly Property ItemOf(
        ByVal i As Integer) As XmlAttribute  
' Public Instance Methods
   Overridable Public Function Append(
        ByVal node As XmlAttribute) As XmlAttribute  
   Public Sub CopyTo(ByVal array As XmlAttribute(), 
        ByVal index As Integer) 
   Overridable Public Function InsertAfter(
        ByVal newNode As XmlAttribute, 
        ByVal refNode As XmlAttribute) As XmlAttribute  
   Overridable Public Function InsertBefore(
        ByVal newNode As XmlAttribute, 
        ByVal refNode As XmlAttribute) As XmlAttribute  
   Overridable Public Function Prepend(
        ByVal node As XmlAttribute) As XmlAttribute  
   Overridable Public Function Remove(
        ByVal node As XmlAttribute) As XmlAttribute  
   Overridable Public Sub RemoveAll() Overridable Public Function ...

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.