Version

Add(WorksheetRegion) Method

Adds a region to the collection of references.
Syntax
public void Add( 
   WorksheetRegion region
)

Parameters

region
The region to add to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionOccurs when the region is null.
System.ArgumentExceptionOccurs when the region is from a Worksheet other than the references collection.
Remarks

The region added to the collection must be from the same Worksheet as the collection.

If the region is already contained in the collection, or there is a region in the collection which fully contains the specified region, 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