SectionCollection Class |
Namespace: Spire.Doc.Collections
The SectionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
SectionCollection |
Initializes a new instance of the
SectionCollection
class.
|
| Name | Description | |
|---|---|---|
|
|
Count |
Gets the number of items in the collection.
(Inherited from
CollectionEx
.)
|
|
|
Document |
Gets the document.
(Inherited from
OwnerHolder
.)
|
|
|
FirstItem |
Gets the first item.
(Inherited from
DocumentObjectCollection
.)
|
|
|
Item |
Gets the
Section
at the specified index.
|
|
|
LastItem |
Gets the last item.
(Inherited from
DocumentObjectCollection
.)
|
|
|
TypesOfElement | (Overrides DocumentObjectCollection TypesOfElement .) |
| Name | Description | |
|---|---|---|
|
|
Add(IDocumentObject) |
Adds the specified entity.
(Inherited from
DocumentObjectCollection
.)
|
|
|
Add(ISection) |
Adds a section to end of document.
|
|
|
Clear |
Removes all items
(Inherited from
DocumentObjectCollection
.)
|
|
|
Contains |
Determines whether a entity is in the collection.
(Inherited from
DocumentObjectCollection
.)
|
|
|
CreateItem | (Overrides DocumentSerializableCollection CreateItem(IXDLSContentReader) .) |
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
|
GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from
CollectionEx
.)
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetTagItemName | (Overrides DocumentSerializableCollection GetTagItemName .) |
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
IndexOf(IDocumentObject) |
Returns the zero-based index of the specified entity.
(Inherited from
DocumentObjectCollection
.)
|
|
|
IndexOf(ISection) |
Returns the zero-based index of the specified section.
|
|
|
Insert |
Inserts a entity into the collection at the specified index.
(Inherited from
DocumentObjectCollection
.)
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
OnClear | (Inherited from DocumentObjectCollection .) |
|
|
OnInsert | (Inherited from DocumentObjectCollection .) |
|
|
OnInsertComplete | (Inherited from DocumentObjectCollection .) |
|
|
OnRemove(Int32) | (Overrides DocumentObjectCollection OnRemove(Int32) .) |
|
|
OnRemove(DocumentObject) | (Overrides DocumentObjectCollection OnRemove(DocumentObject) .) |
|
|
Remove |
Removes the document object from the collection.
(Inherited from
DocumentObjectCollection
.)
|
|
|
RemoveAt |
Removes the document object at the specified index from the collection.
(Inherited from
DocumentObjectCollection
.)
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
|
|
m_doc | (Inherited from OwnerHolder .) |