'DeclarationPublic Overloads Function Contains( _ ByVal cell As DataGridCell, _ ByVal isEqualToARange As Boolean _ ) As Boolean
public bool Contains( DataGridCell cell, bool isEqualToARange )
Parameters
- cell
 - The cell.
 - isEqualToARange
 - if set to 
truereturn true only if the specified cell is equal to some of the contained ranges. 
Return Value
true if this collection contains the specified range; otherwise, false.