An instance of this class contains all elements of an XML document that have the same element name. It can be obtained with the Text
public class XmlElementCollection : ICollection, IEnumerable
Public Class XmlElementCollection
Implements ICollection
Implements IEnumerable
Method | Description |
---|---|
Add | Adds the specified XML element to the collection. |
Copy |
Copies the elements of the collection to an array, starting at a particular index. |
Get |
Returns an enumerator that can be used to iterate through the collection. |
Get |
Returns a particular XML element from the collection. |
Remove | Removes an XML element from an XML document. |
Property | Description |
---|---|
Count | Gets the number of XML elements in the collection. |