Class GenericCollectionBase<TElement>
Inheritance
GenericCollectionBase<TElement>
Assembly: DotNetNuke.dll
Syntax
public abstract class GenericCollectionBase<TElement> : CollectionBase, IList, ICollection, IList<TElement>, ICollection<TElement>, IEnumerable<TElement>, IEnumerable
Type Parameters
| Name |
Description |
| TElement |
|
Constructors
GenericCollectionBase()
Declaration
protected GenericCollectionBase()
Properties
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
this[int]
Declaration
public virtual TElement this[int index] { get; set; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
| Type |
Description |
| TElement |
|
Methods
Add(TElement)
Declaration
public int Add(TElement a)
Parameters
| Type |
Name |
Description |
| TElement |
a |
|
Returns
Contains(TElement)
Declaration
public bool Contains(TElement item)
Parameters
| Type |
Name |
Description |
| TElement |
item |
|
Returns
CopyTo(TElement[], int)
Declaration
public void CopyTo(TElement[] array, int arrayIndex)
Parameters
| Type |
Name |
Description |
| TElement[] |
array |
|
| int |
arrayIndex |
|
IndexOf(TElement)
Declaration
public int IndexOf(TElement item)
Parameters
| Type |
Name |
Description |
| TElement |
item |
|
Returns
Insert(int, TElement)
Declaration
public void Insert(int index, TElement item)
Parameters
| Type |
Name |
Description |
| int |
index |
|
| TElement |
item |
|
Remove(TElement)
Declaration
public bool Remove(TElement item)
Parameters
| Type |
Name |
Description |
| TElement |
item |
|
Returns
Implements
Extension Methods