Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / CellCollection Class / Item Property / Item(Int32,Int32) Property
The Id of the Row where the Cell is located.
The Id of the Column where the Cell is located.


In This Topic
    Item(Int32,Int32) Property
    In This Topic
    Gets the Cell element that is located at the specified Row Id and Column Id.
    Syntax
    'Declaration
     
    
    Public Overloads ReadOnly Property Item( _
       ByVal rowId As Integer, _
       ByVal columnId As Integer _
    ) As Cell
    'Usage
     
    
    Dim instance As CellCollection
    Dim rowId As Integer
    Dim columnId As Integer
    Dim value As Cell
     
    value = instance.Item(rowId, columnId)
    public Cell Item( 
       int rowId,
       int columnId
    ) {get;}

    Parameters

    rowId
    The Id of the Row where the Cell is located.
    columnId
    The Id of the Column where the Cell is located.
    Remarks
    Row Ids start at 0 and Column Ids start at 0. Using Cells[1, 0] will get Cell at “A2”. The maximum allowed row Id for a worksheet is 1048575 and the maximum allowed column Id is 16383.
    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