Class CollectionBase<T>
Defines a base collection class.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Editing.Collections
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public abstract class CollectionBase<T> : IEnumerable<T>, IEnumerable
Type Parameters
T
|
Properties
Count
Gets the collection items count.
Declaration
public int Count { get; }
Property Value
System.Int32
The count. |
Item[Int32]
Gets the element at the specified index.
Declaration
public T this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
T
The element. |
Methods
Add(T)
Adds the specified item to the collection.
Declaration
public void Add(T item)
Parameters
T
item
The item. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |