Determines whether the range contains a specific cell.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public bool Contains(
	XLSheet sheet,
	int row,
	int col
)
Visual Basic
Public Function Contains ( _
	sheet As XLSheet, _
	row As Integer, _
	col As Integer _
) As Boolean

Parameters

sheet
Type: C1.Silverlight.Excel..::..XLSheet
The worksheet containing the cell.
row
Type: System..::..Int32
The row index of the cell.
col
Type: System..::..Int32
The column index of the cell.

Return Value

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

See Also