[]
        
(Showing Draft Content)

C1.Excel.XLNamedRange.Contains

Contains Method

Contains(XLSheet, int, int)

Determines whether the range contains a specific cell.

Declaration
public bool Contains(XLSheet sheet, int row, int col)
Parameters
Type Name Description
XLSheet sheet

The worksheet containing the cell.

int row

The row index of the cell.

int col

The column index of the cell.

Returns
Type Description
bool

True if the current named range contains the specified cell, false otherwise.