The SectionCollection type exposes the following members.

Constructors

  NameDescription
Public methodSectionCollection
Create a new empty collection.

Methods

  NameDescription
Public methodAdd()()()()
Add a new section.
Public methodAdd(Section)
Add an existing section.
Public methodAddRange(array<Section>[]()[][])
Adds the elements of an array of sections to the end of this collection.
Public methodAddRange(SectionCollection)
Adds the elements of a SectionCollection to the end of this collection.
Public methodClear
Removes all sections from this collection.
Protected methodCompose
Implement this method in a derived class to generate content dynamically.
Public methodContains
Determine whether an Section is in the SectionCollection.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Implements GetEnumerator()()()().
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified Section in the SectionCollection.
Public methodInsert
Insert an Section on a specific place in this SectionCollection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodRemove
Removes an Section from this SectionCollection.
Public methodRemoveAt
Removes an Section from the SectionCollection at the specified index.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCount
Number of sections.
Public propertyItem
Retrieve section by index (0-based).

See Also