[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBagList-1

FormattingBagList<T> Class

Represents a list of FormattingBag items.

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

Properties

Name Description
Count

Gets count of items in the list.

this[int]

Gets the item by its index in the list.

Items

Gets the list of items id.

Methods

Name Description
Clear()

Removes all items from the list.

Equals(FormattingBagList<T>)
Equals(object)
FixInheritedValues()

Fixes all inherited values as "direct" values for this instance.

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetHashCode()
IndexOf(T)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire list.

Insert(int)

Inserts a new item to the list.

Insert(int, Guid)

Inserts a new item to the list.

Remove(int)

Removes an item from the list.

RemoveAll(Predicate<T>)

Removes items from the list based on predicate.