FlexGrid for WinForms
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
'Usage
 
Dim instance As CellRangeCollection
Dim value As CellRange
Dim clearOverlappingRanges As Boolean
Dim value As Integer
 
value = instance.Add(value, clearOverlappingRanges)

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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List

 

 


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

Send Feedback