ComponentOne FlexGrid for WinForms
Add(CellRange,Boolean) Method

C1.Win.C1FlexGrid Namespace > CellRangeCollection Class > Add Method : Add(CellRange,Boolean) Method
Object to add to the collection.
Whether to remove overlapping ranges from the collection before adding the new range.
Adds a new CellRange object to the collection, optionally removing other overlapping ranges from the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal value As CellRange, _
   ByVal clearOverlappingRanges As Boolean _
) As Integer

Parameters

value
Object to add to the collection.
clearOverlappingRanges
Whether to remove overlapping ranges from the collection before adding the new range.

Return Value

The index of the object in the collection.
See Also

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List