CollectionBase T Class |
Namespace: Spire.Xls.Core.Spreadsheet.Collections
public class CollectionBase<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The CollectionBase T type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
CollectionBase T |
Initializes a new instance of the class with the default initial capacity.
|
|
|
CollectionBase T (Int32) |
Initializes a new instance of the class with the specified capacity.
|
| Name | Description | |
|---|---|---|
|
|
Capacity |
Gets or sets the number of elements that the System.Collections.CollectionBase can contain.
|
|
|
Count |
Gets the number of elements contained in the System.Collections.CollectionBase instance.
|
|
|
InnerList |
Gets the list of elements in the instance.
|
|
|
IsReadOnly |
Gets a value indicating whether the collection is read-only.
|
|
|
Item |
Gets or sets the item at the specified index in the collection.trigger OnSet and OnSetComplete method when set item
|
|
|
List |
Gets the list of elements in the instance.
|
| Name | Description | |
|---|---|---|
|
|
Add |
Adds an item to the collection.trigger OnInsert and OnInsertComplete method when set item
|
|
|
Clear |
Removes all objects from the System.Collections.CollectionBase instance.
|
|
|
Contains |
Determines whether the collection contains a specific item.
|
|
|
CopyTo |
Copies the elements of the collection to an array, starting at a particular array index.
|
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
|
GetEnumerator |
Returns an enumerator that iterates through this instance.
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
IndexOf |
Returns the zero-based index of the first occurrence of a specified item within the collection.
|
|
|
Insert |
Inserts an element into the list at the specified index.
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
OnClear |
Performs additional custom processes when clearing the contents of this instance.
|
|
|
OnClearComplete |
Performs additional custom processes after clearing the contents of this instance.
|
|
|
OnInsert |
Performs additional custom processes before inserting a new element into this instance.
|
|
|
OnInsertComplete |
Performs additional custom processes after inserting a new element into this instance.
|
|
|
OnRemove |
Performs additional custom processes when removing an element from this instance.
|
|
|
OnRemoveComplete |
Performs additional custom processes after removing an element from this instance.
|
|
|
OnSet |
Performs additional custom processes before setting a value in this instance.
|
|
|
OnSetComplete |
Performs additional custom processes after setting a value in this instance.
|
|
|
Remove |
Removes the first occurrence of a specific object from the collection.
|
|
|
RemoveAt |
Removes the element at the specified index of this instance.
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|