[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentCollection-1

ContentCollection<T> Class

Represents a collection of content items.

Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public abstract class ContentCollection<T> : IContentList<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : class
Public MustInherit Class ContentCollection(Of T As Class)
    Implements IContentList(Of T), IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable
Type Parameters
Name Description
T

The type of items in a collection.

Properties

Name Description
Count

Gets the number of content items in the collection.

First

Gets the first item in the collection.

this[int]

Gets the item at the specified index in the collection.

Last

Gets the last item in the collection.

Range

Gets the body range where content items are located.

Methods

Name Description
DebugPrint()

Prints debug info of the collection into console.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Print()

Prints debug info of the collection into the string.