Gets a value that indicates whether this range contains a given cell.
'Declaration
Public Overloads Function Contains( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Boolean
public System.bool Contains(
System.int ,
System.int
)
Parameters
- row
- Index of the row that may be contained in this range.
- col
- Index of the column that may be contained in this range.
Return Value
True if this range contains the cell specified by the and parameters.
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