Contains Method (XLNamedRange)
Determines whether the range contains a specific cell.
'Declaration
Public Function Contains( _
ByVal As XLSheet, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Boolean
public System.bool Contains(
XLSheet ,
System.int ,
System.int
)
Parameters
- sheet
- The worksheet containing the cell.
- row
- The row index of the cell.
- col
- The column index of the cell.
Return Value
True if the current named range contains the specified cell, false otherwise.