Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / RowCellCollection Class
Members Example


In This Topic
    RowCellCollection Class
    In This Topic
    Represents the collection of Cells in a specific Row.   
    Object Model
    RowCellCollection ClassCell Class
    Syntax
    'Declaration
     
    
    <DefaultMemberAttribute("Item")>
    Public Class RowCellCollection 
       Inherits WorksheetElement
    'Usage
     
    
    Dim instance As RowCellCollection
    [DefaultMember("Item")]
    public class RowCellCollection : WorksheetElement 
    Example
    using( var doc = Workbook.Load( "test.xlsx") )
      {
        var worksheet = doc.Worksheets[ 0 ];        
        worksheet.Rows[ 1 ].Cells[ 0 ].Value = 25d;    // Sets “A2”
        worksheet.Rows[ 1 ].Cells[ “C” ].Value = 40d;    // Sets “C2”
        doc.Save();
      }
    Inheritance Hierarchy

    System.Object
       Xceed.Workbooks.NET.WorkbookElement
          Xceed.Workbooks.NET.WorksheetElement
             Xceed.Workbooks.NET.RowCellCollection

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also