PortionCollection class

Represents a collection of portions.

public sealed class PortionCollection : DomObject<Paragraph>, IPortionCollection


Count { get; }Gets the number of elements actually contained in the collection. Read-only Int32.
IsReadOnly { get; }Gets a value indicating whether the ICollection is read-only. Read-only Boolean.
Item { get; set; }Gets the element at the specified index.


Add(IPortion)Adds a Portion to the end of collection.
Clear()Removes all elements from the collection.
Contains(IPortion)Determines whether the ICollection contains a specific value.
CopyTo(IPortion[], int)Copies the elements of the ICollection to an Array, starting at a particular Array index.
GetEnumerator()Returns an enumerator that iterates through the collection.
IndexOf(IPortion)Determines the index of a specific item in the IList.
Insert(int, IPortion)Inserts a Portion into the collection at the specified index.
Remove(IPortion)Removes the first occurrence of a specific object from the ICollection.
RemoveAt(int)Removes the element at the specified index of the collection.

See Also