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...
Removes a list of references from the collection of references. Overload List
Returns the string value represent the cell and region addresses in the collection. Syntax
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...
Returns the string value represent the cell and region addresses in the collection. Overload List
Gets the worksheet for which this collection contains references. Syntax
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.
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...
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.
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.