A collection of cells or regions which are all on the same [[worksheet]].

WorksheetReferenceCollection

new WorksheetReferenceCollection(worksheet: Worksheet): WorksheetReferenceCollection

Returns WorksheetReferenceCollection

$t: Type

Gets the number of cells contains in all references in this collection.

get cellsCount(): number

Returns number

Gets the worksheet for which this collection contains references.

get worksheet(): Worksheet

Returns Worksheet

Adds a region to the collection of references.

add(region: WorksheetRegion): void

Parameters

Returns void

Clears all references from the collection.

clear(): void

Returns void

Determines whether the collection contains the specified region.

contains(region: WorksheetRegion): boolean

Parameters

Returns boolean

getEnumerator(): IEnumerator$1<WorksheetRegion>

Returns IEnumerator$1<WorksheetRegion>

Removes a region from the collection of references.

remove(region: WorksheetRegion): boolean

Parameters

Returns boolean

Returns the string value represent the cell and region addresses in the collection.

toString(): string

Returns string