An instance of this class contains all elements of an XML document that have the same element name. It can be obtained with the TextControl.GetXmlElements method.

Syntax

public class XmlElementCollection : ICollection, IEnumerable
Public Class XmlElementCollection
  Implements ICollection
  Implements IEnumerable

Methods

Method Description
Add Adds the specified XML element to the collection.
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Returns a particular XML element from the collection.
Remove Removes an XML element from an XML document.

Properties

Property Description
Count Gets the number of XML elements in the collection.