BlockCollection Class
Represents a collection of a Block derived elements.
public sealed class BlockCollection : ElementCollection<Block>, IList, ICollection, IList<Block>, ICollection<Block>, IEnumerable<Block>, IEnumerable
Public NotInheritable Class BlockCollection
Inherits ElementCollection(Of Block)
Implements IList, ICollection, IList(Of Block), ICollection(Of Block), IEnumerable(Of Block), IEnumerable
- Inheritance:
- System.ObjectBlockCollection
Implements
Remarks
Although BlockCollection is a strongly typed collection of a Block derived elements, not all Block derived elements are supported in every BlockCollection.
For example, Entries supports only Paragraph elements; Blocks and Blocks support Paragraph and Table elements; and Blocks supports all Block derived elements.
Supported element types can be retrieved through SupportedElementTypes property.
For more information, see GemBox.Document Content Model.
Inherited Properties
Content | Gets the content of the current ElementCollection. (Inherited from ElementCollection) |
SupportedElementTypes | Gets a sequence of ElementTypes that can be contained in this collection. (Inherited from ElementCollection) |
Inherited Methods
CopyTo(Element[], System.Int32) | Copies the elements of the ElementCollection to an System.Array, starting at a particular System.Array index. (Inherited from ElementCollection) |
IndexOf(Element) | Determines the index of a specific Element in the ElementCollection. (Inherited from ElementCollection) |