DocumentObjectCollection Class |
Namespace: Spire.Doc.Collections
The DocumentObjectCollection type exposes the following members.
| 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.
|
|
|
Item |
Gets the
DocumentObject
at the specified index.
|
|
|
LastItem |
Gets the last item.
|
|
|
TypesOfElement |
| Name | Description | |
|---|---|---|
|
|
Add |
Adds the specified entity.
|
|
|
Clear |
Removes all items
|
|
|
Contains |
Determines whether a entity is in the collection.
|
|
|
CreateItem | (Inherited from DocumentSerializableCollection .) |
|
|
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 | (Inherited from DocumentSerializableCollection .) |
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
IndexOf |
Returns the zero-based index of the specified entity.
|
|
|
Insert |
Inserts a entity into the collection at the specified index.
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
OnClear | |
|
|
OnInsert | |
|
|
OnInsertComplete | |
|
|
OnRemove(Int32) | |
|
|
OnRemove(DocumentObject) | |
|
|
Remove |
Removes the document object from the collection.
|
|
|
RemoveAt |
Removes the document object at the specified index from the collection.
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
|
|
m_doc | (Inherited from OwnerHolder .) |