Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / ContainsLockedCell Method / ContainsLockedCell(Int32,Int32,Int32,Int32) Method
An integer value indicates the top row index of cell range.
An integer value indicates the left column index of cell range.
An integer value indicates the bottom row index of cell range.
An integer value indicates the right column index of cell range.


In This Topic
    ContainsLockedCell(Int32,Int32,Int32,Int32) Method
    In This Topic
    Determines whether the specified range contains at least one locked cell.
    Syntax
    'Declaration
     
    
    Public Overloads Function ContainsLockedCell( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As Boolean
     
    value = instance.ContainsLockedCell(row, column, row2, column2)
    public bool ContainsLockedCell( 
       int row,
       int column,
       int row2,
       int column2
    )

    Parameters

    row
    An integer value indicates the top row index of cell range.
    column
    An integer value indicates the left column index of cell range.
    row2
    An integer value indicates the bottom row index of cell range.
    column2
    An integer value indicates the right column index of cell range.

    Return Value

    true if the specified range contains at least one locked cell; otherwise, false.
    See Also