Click or drag to resize
ElementCollectionT Class
Represents a base generic class for Element collections.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentElementCollection
    GemBox.DocumentElementCollectionT
      More...

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 23.3.30.1104
Syntax
public abstract class ElementCollection<T> : ElementCollection, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
where T : Element

Type Parameters

T
An Element derived type.

The ElementCollectionT type exposes the following members.

Methods
  NameDescription
Public methodAdd
Public methodCastTElement
Gets the element at the specified index and casts it to the specified type.
Public methodClear
Public methodContains
Public methodCopyTo(T, Int32)
Public methodCopyTo(Element, Int32)
Copies the elements of the ElementCollection to an Array, starting at a particular Array index.
(Inherited from ElementCollection.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIndexOf
Public methodInsert
Public methodRemove
Public methodRemoveAt
Top
Properties
  NameDescription
Public propertyContent
Gets the content of the current ElementCollection.
(Inherited from ElementCollection.)
Public propertyCount
Public propertyItem
Gets or sets the element at the specified index.
Public propertySupportedElementTypes
Gets a sequence of ElementTypes that can be contained in this collection.
(Inherited from ElementCollection.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item to the IList at the specified index.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ElementCollection.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from ElementCollection.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ElementCollection.)
Top
See Also
Inheritance Hierarchy