Collection Class
Represents a base non-generic type for all collection types in the GemBox.Presentation assembly.
public abstract class Collection : IList, ICollection, IEnumerable
Public MustInherit Class Collection
Implements IList, ICollection, IEnumerable
- Inheritance:
- Collection
- Derived
- Collection<T>
Properties
Count
Gets the number of items contained in the collection.
Property Value
The number of items contained in the collection.
Item[Int32]
Gets the item at the specified index.
public object this[int index] { get; }
Public ReadOnly Property Item(index As Integer) As Object
Parameters
index
- Int32
The zero-based index of the item to get.
Property Value
The item at the specified index.
Exceptions
index
is less than zero or index
is equal to or greater than Count.
Methods
Clear()
Removes all items from the collection.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Returns
An IEnumerator for the collection.
RemoveAt(Int32)
Removes the item at the specified index of the collection.
Parameters
index
- Int32
The zero-based index of the item to remove.
Exceptions
index
is less than zero or index
is equal to or greater than Count.
Implements
See Also
Collection<T>