Version

Add(String,CellReferenceMode) Method

Adds a list of references to the collection of references.
Syntax
public void Add( 
   string references,
   CellReferenceMode cellReferenceMode
)

Parameters

references
The space delimited list of references to add to the collection.
cellReferenceMode
The cell reference mode with which to parse the references.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when the references is null.
System.ComponentModel.InvalidEnumArgumentExceptionOccurs when cellReferenceMode is not defined in the CellReferenceMode enumeration.
System.ArgumentException Occurs when the list of reference is not well formed.
Remarks

The references must be separated by one or more space (' ') characters.

The references in the list cannot contain the worksheet name. They are all assumed to be from the worksheet of this collection.

If all references are already contained in the collection this call will have no effect on the collection.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also