Click or drag to resize

CollectionExtended T Class

This is the base class for all collections.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet.Collections CollectionBase T
Spire.Xls.Core.Spreadsheet.Collections CollectionExtended T
More...

Namespace: Spire.Xls.Core.Spreadsheet.Collections
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class CollectionExtended<T> : CollectionBase<T>, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IExcelApplication, 
	ICloneParent

Type Parameters

T

The CollectionExtended T type exposes the following members.

Properties
Name Description
Public property Capacity
Gets or sets the number of elements that the System.Collections.CollectionBase can contain.
(Inherited from CollectionBase T .)
Public property Count
Gets the number of elements contained in the System.Collections.CollectionBase instance.
(Inherited from CollectionBase T .)
Protected property InnerList
Gets the list of elements in the instance.
(Inherited from CollectionBase T .)
Public property IsReadOnly
Gets a value indicating whether the collection is read-only.
(Inherited from CollectionBase T .)
Public property Item
Gets or sets the item at the specified index in the collection.trigger OnSet and OnSetComplete method when set item
(Inherited from CollectionBase T .)
Protected property List
Gets the list of elements in the instance.
(Inherited from CollectionBase T .)
Public property Parent
Read-oonly. The parent object for the specified object.
Top
Methods
Name Description
Public method Add
Adds an item to the collection.trigger OnInsert and OnInsertComplete method when set item
(Inherited from CollectionBase T .)
Protected method Static member ChangeName
Changes name.
Public method Clear
Removes all objects from the System.Collections.CollectionBase instance.
(Inherited from CollectionBase T .)
Public method Clone
Creates copy of the collection.
Public method Contains
Determines whether the collection contains a specific item.
(Inherited from CollectionBase T .)
Public method CopyTo
Copies the elements of the collection to an array, starting at a particular array index.
(Inherited from CollectionBase T .)
Public method EnsureCapacity
Enlarges internal storage if necessary.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Protected method FindParent(Type)
Method used to find parent within a specific type.
Protected method FindParent(Type, Boolean)
Method used to find parent within a specific type.
Public method Static member GenerateDefaultName(ICollection T , String)
Generates default name.
Protected method Static member GenerateDefaultName(ICollection, String)
Generates default name.
Protected method Static member GenerateDefaultName(String, ICollection )
Generate default name.
Public method GetEnumerator
Returns an enumerator that iterates through this instance.
(Inherited from CollectionBase T .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IndexOf
Returns the zero-based index of the first occurrence of a specified item within the collection.
(Inherited from CollectionBase T .)
Public method Insert
Inserts an element into the list at the specified index.
(Inherited from CollectionBase T .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnClear
OnClear is invoked before Clear behavior.
(Overrides CollectionBase T OnClear .)
Protected method OnClearComplete
OnClear is invoked after Clear behavior.
(Overrides CollectionBase T OnClearComplete .)
Protected method OnInsert
Performs additional processes before inserting a new element into the collection.
(Overrides CollectionBase T OnInsert(Int32, T) .)
Protected method OnInsertComplete
Performs additional processes after inserting a new element into the collection.
(Overrides CollectionBase T OnInsertComplete(Int32, T) .)
Protected method OnRemove
Performs additional processes before removing an element from the collection.
(Overrides CollectionBase T OnRemove(Int32, T) .)
Protected method OnRemoveComplete
Performs additional processes after removing an element from the collection.
(Overrides CollectionBase T OnRemoveComplete(Int32, T) .)
Protected method OnSet
Performs additional processes before setting a value in the collection.
(Overrides CollectionBase T OnSet(Int32, T, T) .)
Protected method OnSetComplete
Performs additional processes after setting a value in the collection.
(Overrides CollectionBase T OnSetComplete(Int32, T, T) .)
Public method Remove
Removes the first occurrence of a specific object from the collection.
(Inherited from CollectionBase T .)
Public method RemoveAt
Removes the element at the specified index of this instance.
(Inherited from CollectionBase T .)
Protected method SetParent
Sets parent object for class.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Events
Name Description
Public event Changed
Change in the collection.
Top
See Also
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet.Collections CollectionBase T
Spire.Xls.Core.Spreadsheet.Collections CollectionExtended T
Spire.Xls.Collections DataConnections
Spire.Xls.Collections ExternalLinkCollection
Spire.Xls.Collections QueryTableCollection
Spire.Xls.Core.MergeSpreadsheet.Collections GroupShapeCollection
Spire.Xls.Core.Spreadsheet.Charts XlsChartFormatCollection
Spire.Xls.Core.Spreadsheet.Charts XlsChartSeries
Spire.Xls.Core.Spreadsheet.Collections ArcShapeCollection
Spire.Xls.Core.Spreadsheet.Collections BordersCollectionArrayWrapper
Spire.Xls.Core.Spreadsheet.Collections ButtonShapeCollection
Spire.Xls.Core.Spreadsheet.Collections CheckBoxCollection
Spire.Xls.Core.Spreadsheet.Collections ComboBoxCollection
Spire.Xls.Core.Spreadsheet.Collections GeomertyAdjustValuesCollection
Spire.Xls.Core.Spreadsheet.Collections GroupBoxCollection
Spire.Xls.Core.Spreadsheet.Collections LabelShapeCollection
Spire.Xls.Core.Spreadsheet.Collections LineCollection
Spire.Xls.Core.Spreadsheet.Collections ListBoxCollection
Spire.Xls.Core.Spreadsheet.Collections OvalShapeCollection
Spire.Xls.Core.Spreadsheet.Collections PrstGeomShapeCollection
Spire.Xls.Core.Spreadsheet.Collections RadioButtonCollection
Spire.Xls.Core.Spreadsheet.Collections RectangleCollection
Spire.Xls.Core.Spreadsheet.Collections ScrollBarCollection
Spire.Xls.Core.Spreadsheet.Collections ShapeCollectionBase
Spire.Xls.Core.Spreadsheet.Collections SpinnerShapeCollection
Spire.Xls.Core.Spreadsheet.Collections TextBoxCollection
Spire.Xls.Core.Spreadsheet.Collections XlsAddInFunctionsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsAutoFiltersCollection
Spire.Xls.Core.Spreadsheet.Collections XlsBordersCollection
Spire.Xls.Core.Spreadsheet.Collections XlsBuiltInDocumentProperties
Spire.Xls.Core.Spreadsheet.Collections XlsChartsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsCommentsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsConditionalFormats
Spire.Xls.Core.Spreadsheet.Collections XlsDataValidationCollection
Spire.Xls.Core.Spreadsheet.Collections XlsFontsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsHPageBreaksCollection
Spire.Xls.Core.Spreadsheet.Collections XlsHyperLinksCollection
Spire.Xls.Core.Spreadsheet.Collections XlsPicturesCollection
Spire.Xls.Core.Spreadsheet.Collections XlsPivotCachesCollection
Spire.Xls.Core.Spreadsheet.Collections XlsPivotTablesCollection
Spire.Xls.Core.Spreadsheet.Collections XlsRangesCollection
Spire.Xls.Core.Spreadsheet.Collections XlsStylesCollection
Spire.Xls.Core.Spreadsheet.Collections XlsVPageBreaksCollection
Spire.Xls.Core.Spreadsheet.Collections XlsWorkbookObjectsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsWorksheetChartsCollection
Spire.Xls.Core.Spreadsheet.Collections XlsWorksheetConditionalFormats
Spire.Xls.Core.Spreadsheet.Collections XlsWorksheetCustomProperties
Spire.Xls.Core.Spreadsheet.Collections XlsWorksheetsCollection
Spire.Xls.Core.Spreadsheet.PivotTables PivotDataFields
Spire.Xls.Core.Spreadsheet.PivotTables PivotReportFilters
Spire.Xls.Core.Spreadsheet.Sorting SortColumns
Spire.Xls.Core.Spreadsheet.Tables ListObjectCollection
Spire.Xls.Core.Spreadsheet XlsDataValidationTable
Spire.Xls PivotTableFields
Spire.Xls XlsSlicerCacheItemCollection
Spire.Xls XlsSlicerCollection