TXTextControl.XmlElementCollection Class

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

[C#]
public class XmlElementCollection : ICollection, IEnumerable
[Visual Basic]
Public Class XmlElementCollection
  Implements ICollection
  Implements IEnumerable

Properties

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

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 Overloaded. Returns a particular XML element from the collection.
Remove Removes an XML element from an XML document.

See Also