using System.Collections.Generic; namespace System.Xml { /// /// Represents a collection of XMLIRW. /// public interface IXMLIRWCollection : IEnumerable, IDisposable { /// Checks whether the element has sub-elements or attributes. bool IsEmpty {get;} /// Checks whether the element has sub-elements. bool NoElements {get;} /// Checks whether the element has a text value. bool ValueIsEmpty {get;} /// Checks whether the element has attributes. bool NoAttributes {get;} /// Gets the count of attributes on the element. int AttributeCount {get;} /// Gets the attributes on the element. IEnumerable Attributes {get;} /// Adds a new XMLIRW element. /// Returns true when the element is added XMLIRW. bool Add(XMLIRW element); } }