Excel for WinRT
Contains Method (XLNamedRange)


The worksheet containing the cell.
The row index of the cell.
The column index of the cell.
Determines whether the range contains a specific cell.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal sheet As XLSheet, _
   ByVal row As System.Integer, _
   ByVal col As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As XLNamedRange
Dim sheet As XLSheet
Dim row As System.Integer
Dim col As System.Integer
Dim value As System.Boolean
 
value = instance.Contains(sheet, row, col)
public System.bool Contains( 
   XLSheet sheet,
   System.int row,
   System.int col
)

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.
See Also

Reference

XLNamedRange Class
XLNamedRange Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback