SectionCollection Class

Represents a collection of sections.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesDomObjectPresentation
    Aspose.SlidesSectionCollection

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
Syntax
public sealed class SectionCollection : DomObject<Presentation>, 
	ISectionCollection, IGenericCollection<ISection>, IEnumerable<ISection>, 
	IEnumerable, ICollection

The SectionCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the collection. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Public propertyItem
Gets the element at the specified index. Read-only ISection.
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
Methods
  NameDescription
Public methodAddEmptySection
Add empty section to specified position of the collection.
Public methodAddSection
Add slides section started form specific slide.
Public methodAppendEmptySection
Add empty section to the end of the collection.
Public methodClear
Removes all sections from the collection.
Public methodCopyTo
Copies the entire collection to the specified array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns an index of the specified section in the collection.
Public methodRemoveSection
Remove section. Slides contained in the section will be merged into previous section.
Public methodRemoveSectionWithSlides
Remove section and slides contained in the section.
Public methodReorderSectionWithSlides
Moves section and its slides from the collection to the specified position.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also