WorksheetsCollection Class |
Namespace: Spire.Xls.Collections
The WorksheetsCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Capacity |
Gets or sets the number of elements that the System.Collections.CollectionBase can contain.
(Inherited from
CollectionBase
T
.)
|
![]() |
Count |
Gets the number of elements contained in the System.Collections.CollectionBase instance.
(Inherited from
CollectionBase
T
.)
|
![]() |
InnerList |
Gets the list of elements in the instance.
(Inherited from
CollectionBase
T
.)
|
![]() |
IsReadOnly |
Gets a value indicating whether the collection is read-only.
(Inherited from
CollectionBase
T
.)
|
![]() |
IsRightToLeft |
Determines whether the text direction is right-to-left.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Item Int32 |
Returns a single object from a collection. Read-only.
|
![]() |
Item String |
Returns a single object from a collection. Read-only.
|
![]() |
List |
Gets the list of elements in the instance.
(Inherited from
CollectionBase
T
.)
|
![]() |
Parent |
Read-oonly. The parent object for the specified object.
(Inherited from
CollectionExtended
T
.)
|
![]() |
UseHashForWorksheetLookup |
Toggles worksheet search algorithm when searching worksheet by name.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
UseRangesCache |
Indicates whether all created range objects should be cached.
(Inherited from
XlsWorksheetsCollection
.)
|
Name | Description | |
---|---|---|
![]() |
Add(String) |
Adds a new worksheet.
|
![]() |
Add(T) |
Adds an item to the collection.trigger OnInsert and OnInsertComplete method when set item
(Inherited from
CollectionBase
T
.)
|
![]() |
AddCopy(Int32) |
Adds copy of worksheet.
|
![]() |
AddCopy(IWorksheet) |
Adds copy of worksheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopy(IWorksheets) |
Adding worksheets collection to current workbook.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopy(Worksheet) |
Adds copy of worksheet.
|
![]() |
AddCopy(WorksheetsCollection) |
Adding worksheets collection to workbook.
|
![]() |
AddCopy(Int32, WorksheetCopyType) |
Add a copy of the specified worksheet to the worksheet collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopy(IWorksheet, WorksheetCopyType) |
Adds copy of worksheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopy(IWorksheets, WorksheetCopyType) |
Adding worksheets collection to current workbook.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopyAfter(IWorksheet) |
Adds copy of sheet to collection after choosed sheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopyAfter(IWorksheet, IWorksheet) |
Adds copy of sheet to collection before choosed sheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopyBefore(IWorksheet) |
Adds copy of sheet to collection before choosed sheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
AddCopyBefore(IWorksheet, IWorksheet) |
Adds copy of sheet to collection before choosed sheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Clear |
Clears all items from the collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Clone |
Creates copy of the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
Contains |
Determines whether the collection contains a specific item.
(Inherited from
CollectionBase
T
.)
|
![]() |
CopyTo |
Copies the elements of the collection to an array, starting at a particular array index.
(Inherited from
CollectionBase
T
.)
|
![]() |
Create |
Creates a new worksheet.
|
![]() |
Create(String) |
Create a new worksheet.
|
![]() |
EnsureCapacity |
Enlarges internal storage if necessary.
(Inherited from
CollectionExtended
T
.)
|
![]() |
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
.)
|
![]() |
FindAll(Boolean) |
Finds all cell ranges based on the specified condition.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAll(DateTime) |
Finds all CellRange objects that contain the specified DateTime value.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAll(TimeSpan) |
Finds all occurrences of a specified time span within a collection and returns their ranges.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAll(Double, FindType) |
Finds all cells in the worksheet that match the specified value and criteria.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAll(String, FindType) |
Finds all occurrences of a specified value within the worksheet and returns their cell ranges.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAll(String, FindType, ExcelFindOptions) |
Finds all occurrences of a specified value within the worksheet and returns their ranges.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindAllBool |
Finds the cell with the input bool.
|
![]() |
FindAllDateTime |
Finds the cell with the input datetime.
|
![]() |
FindAllNumber |
Finds the cell with the input double.
|
![]() |
FindAllString |
Finds the cell with the input string.
|
![]() |
FindAllTimeSpan |
Finds the cell with input timespan
|
![]() |
FindBool |
Finds the cell with the input bool.
|
![]() |
FindDateTime |
Finds the cell with the input datetime.
|
![]() |
FindFirst(Boolean) |
Finds the first cell in the range that match the bool value.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindFirst(DateTime) |
Finds the first cell in the range that contains the specified DateTime value.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindFirst(TimeSpan) |
Finds the first occurrence of a cell with a value matching the specified TimeSpan within the range.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindFirst(Double, FindType) |
Finds the first cell in the range that matches the specified numeric value, considering the search flags to determine whether to look in formula values or numeric values.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindFirst(String, FindType) |
Finds the first occurrence of a specified value within the range.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindFirst(String, FindType, ExcelFindOptions) |
Finds the first occurrence of a specified value within the range based on the given find type and options.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
FindNumber |
Finds the cell with the input double.
|
![]() |
FindParent(Type) |
Method used to find parent within a specific type.
(Inherited from
CollectionExtended
T
.)
|
![]() |
FindParent(Type, Boolean) |
Method used to find parent within a specific type.
(Inherited from
CollectionExtended
T
.)
|
![]() |
FindString |
Finds the cell with the input string.
|
![]() |
FindTimeSpan |
Finds the cell with the input time span.
|
![]() |
GetEnumerator |
Returns an enumerator that iterates through this instance.
(Inherited from
CollectionBase
T
.)
|
![]() |
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.
(Inherited from
CollectionBase
T
.)
|
![]() |
InnerAdd |
Adds data to the specified worksheet.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
InnerRemove |
Removes the element at the specified index of the collection. This method is accessible to derived classes and classes within the same assembly.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Insert |
Inserts an element into the list at the specified index.
(Inherited from
CollectionBase
T
.)
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
Move |
Moves worksheet..
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
OnClear |
OnClear is invoked before Clear behavior.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnClearComplete |
OnClear is invoked after Clear behavior.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnInsert |
Performs additional processes before inserting
a new element into the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnInsertComplete |
Performs additional processes after inserting
a new element into the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnRemove |
Performs additional processes before removing
an element from the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnRemoveComplete |
Performs additional processes after removing
an element from the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnSet |
Performs additional processes before setting
a value in the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
OnSetComplete |
Performs additional processes after setting a value in the collection.
(Inherited from
CollectionExtended
T
.)
|
![]() |
Remove(Int32) |
Removes specified worksheet from the collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Remove(String) |
Removes specified worksheet from the collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Remove(IWorksheet) |
Remove specified worksheet from workbook collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
Remove(Worksheet) |
Remove worksheet from collection.
|
![]() |
RemoveAt |
Removes specified worksheet from the collection.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
SetParent |
Sets parent object for class.
(Inherited from
CollectionExtended
T
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
![]() |
UpdateSheetIndex |
Obsolete.
Updates sheet index after move/insert operation.
(Inherited from
XlsWorksheetsCollection
.)
|
![]() |
UpdateStringIndexes |
Obsolete.
Updates string indexes.
(Inherited from
XlsWorksheetsCollection
.)
|
Name | Description | |
---|---|---|
![]() |
Changed |
Change in the collection.
(Inherited from
CollectionExtended
T
.)
|