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