ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLRowCollection Class
Members Example

In This Topic
    XLRowCollection Class
    In This Topic
    Represents a collection of XLRow objects that represent the individual rows in each XLSheet.
    Object Model
    XLRowCollection Class
    Syntax
    'Declaration
     
    Public Class XLRowCollection 
    public class XLRowCollection 
    Remarks
    The collection has methods for counting, enumerating, adding, and removing rows from the collection.
    Example
    Note that you can create rows automatically by using the sheet's indexer. For example, the following code retrieves the cell at coordinates (3,3) and in doing so automatically creates four rows and four columns automatically:
    C1XLBook book = new C1XLBook();
    sheet = book.Sheets[0];
    XLCell cell   = sheet[3,3]; // creates 4 rows and 4 columns
    Inheritance Hierarchy

    System.Object
       C1.Excel.XLRowCollection

    See Also