Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / CellRange Class / Contains Method / Contains(Int32,Int32,Int32,Int32) Method
Row index of the first cell in the range
Column index of the first cell in the range
Number of rows in the range
Number of columns in the range


In This Topic
    Contains(Int32,Int32,Int32,Int32) Method
    In This Topic
    Determines whether the range of cells contains another specified range of cells.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As CellRange
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim value As Boolean
     
    value = instance.Contains(row, column, rowCount, columnCount)
    public bool Contains( 
       int row,
       int column,
       int rowCount,
       int columnCount
    )

    Parameters

    row
    Row index of the first cell in the range
    column
    Column index of the first cell in the range
    rowCount
    Number of rows in the range
    columnCount
    Number of columns in the range
    See Also