[]
Represents a collection of range areas. Each area represents a single contiguous range of one or more cells.
public interface IAreas : IEnumerable<IRange>, IEnumerable
Public Interface IAreas
Inherits IEnumerable(Of IRange), IEnumerable
IRange range = worksheet.Range["A1:B2,D1:E2"];
IAreas areas = range.Areas;
int areaCount = areas.Count;
| Name | Description |
|---|---|
| Count | Returns the number of instances of IRange represented by this IArea. |
| this[int] | Returns the zero based instance of IRange specified by index. |