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.
Target Platforms: 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