Version

Search Results

Remove(WorksheetRegion) Method

Removes a region from the collection of references. Syntax Parameters region The region to remove from the collection. Return Value True if any cells in the region were found and removed. False otherwise. Exceptions Exception Description System.ArgumentNullException Occurs when the region is null. Remarks If the r...

Remove Method (WorksheetReferenceCollection)

Removes a list of references from the collection of references. Overload List

ToString() Method

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

ToString(CellReferenceMode) Method

Returns the string value represent the cell and region addresses in the collection. Syntax Parameters cellReferenceMode The cell reference mode with which to get the region strings. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException Occurs when cellReferenceMode is not defined in t...

ToString Method (WorksheetReferenceCollection)

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

Worksheet Property (WorksheetReferenceCollection)

Gets the worksheet for which this collection contains references. Syntax

WorksheetReferenceCollection Constructor(Worksheet)

Creates a new WorksheetReferenceCollection instance. Syntax Parameters worksheet The worksheet to which the references in the collection will belong. Exceptions Exception Description System.ArgumentNullException Occurs when worksheet is null.

WorksheetReferenceCollection Constructor(Worksheet,String)

Creates a new WorksheetReferenceCollection instance. Syntax Parameters worksheet The worksheet to which the references in the collection will belong.references The space delimited list of references to add to the collection. Exceptions Exception Description System.ArgumentNullException Occurs when worksheet is nul...

WorksheetReferenceCollection Constructor(WorksheetCell)

Creates a new WorksheetReferenceCollection instance and initializes it with a cell. Syntax Parameters cell The cell with which the collection should be initialized. Exceptions Exception Description System.ArgumentNullException Occurs when cell is null.

WorksheetReferenceCollection Constructor(WorksheetRegion)

Creates a new WorksheetReferenceCollection instance and initializes it with a cell. Syntax Parameters region The cell with which the collection should be initialized. Exceptions Exception Description System.ArgumentNullException Occurs when region is null.