Represents a collection of DLS entities.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public abstract class DocumentObjectCollection : DocumentSerializableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
Public MustInherit Class DocumentObjectCollection Inherits DocumentSerializableCollection Implements IDocumentObjectCollection, ICollectionBase, IEnumerable
public ref class DocumentObjectCollection abstract : public DocumentSerializableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
[<AbstractClassAttribute>] type DocumentObjectCollection = class inherit DocumentSerializableCollection interface IDocumentObjectCollection interface ICollectionBase interface IEnumerable end
Members
| All Members | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| Add(IDocumentObject) |
Adds the specified entity.
| |
| Clear()()()() |
Removes all items
| |
| Contains(IDocumentObject) |
Determines whether a entity is in the collection.
| |
| Count |
Gets the number of items in the collection.
(Inherited from CollectionEx.) | |
| CreateItem(IXDLSContentReader) | (Inherited from DocumentSerializableCollection.) | |
| Document |
Gets the document.
(Inherited from OwnerHolder.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FirstItem |
Gets the first item.
| |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from CollectionEx.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetTagItemName()()()() | (Inherited from DocumentSerializableCollection.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(IDocumentObject) |
Returns the zero-based index of the specified entity.
| |
| Insert(Int32, IDocumentObject) |
Inserts a entity into the collection at the specified index.
| |
| Item[([( Int32])]) |
Gets the DocumentObject at the specified index.
| |
| LastItem |
Gets the last item.
| |
| m_doc | (Inherited from OwnerHolder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnClear()()()() | ||
| OnInsert(Int32, DocumentObject) | ||
| OnInsertComplete(Int32, DocumentObject) | ||
| OnRemove(Int32) | ||
| Remove(IDocumentObject) |
Removes the document object from the collection.
| |
| RemoveAt(Int32) |
Removes the document object at the specified index from the collection.
| |
| ToString()()()() | (Inherited from Object.) | |
| TypesOfElement |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..CollectionEx
Spire.Doc.Documents.XML..::..DocumentSerializableCollection
Spire.Doc.Collections..::..DocumentObjectCollection
Spire.Doc.Collections..::..BodyRegionCollection
Spire.Doc.Collections..::..CellCollection
Spire.Doc.Collections..::..ParagraphItemCollection
Spire.Doc.Collections..::..RowCollection
Spire.Doc.Collections..::..SectionCollection
Spire.Doc.Collections..::..ShapeItemCollection
Spire.Doc.Collections..::..TextBoxItemCollection
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..CollectionEx
Spire.Doc.Documents.XML..::..DocumentSerializableCollection
Spire.Doc.Collections..::..DocumentObjectCollection
Spire.Doc.Collections..::..BodyRegionCollection
Spire.Doc.Collections..::..CellCollection
Spire.Doc.Collections..::..ParagraphItemCollection
Spire.Doc.Collections..::..RowCollection
Spire.Doc.Collections..::..SectionCollection
Spire.Doc.Collections..::..ShapeItemCollection
Spire.Doc.Collections..::..TextBoxItemCollection