GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    CellRangeCollection Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    A collection of CellRange items.

    • C#
    • VB.NET
    public sealed class CellRangeCollection : Collection<CellRange>, IList<CellRange>, ICollection<CellRange>, IList, ICollection, IReadOnlyList<CellRange>, IReadOnlyCollection<CellRange>, IEnumerable<CellRange>, IEnumerable
    Public NotInheritable Class CellRangeCollection
        Inherits Collection(Of CellRange)
        Implements IList(Of CellRange), ICollection(Of CellRange), IList, ICollection, IReadOnlyList(Of CellRange), IReadOnlyCollection(Of CellRange), IEnumerable(Of CellRange), IEnumerable
    Inheritance:
    System.Object
    System.Collections.ObjectModel.Collection<CellRange>
    CellRangeCollection
    Implements
    System.Collections.Generic.IList<CellRange>
    System.Collections.Generic.ICollection<CellRange>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<CellRange>
    System.Collections.Generic.IReadOnlyCollection<CellRange>
    System.Collections.Generic.IEnumerable<CellRange>
    System.Collections.IEnumerable

    Methods

    Add(ExcelWorksheet, String)

    Adds the CellRange from the specified worksheet to the collection.

    • C#
    • VB.NET
    public CellRange Add(ExcelWorksheet worksheet, string cellReference)
    Public Function Add(worksheet As ExcelWorksheet, cellReference As String) As CellRange
    Parameters
    worksheet
    ExcelWorksheet

    The worksheet.

    cellReference
    System.String

    The cell reference for which to create CellRange.

    Returns
    CellRange

    An instance of the CellRange that was added to the collection.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.