Excel for WPF | ComponentOne
C1.Silverlight.Excel Namespace / XLCellRangeCollection Class / Add Method / Add(XLCellRange) Method
XLCellRange object to add to the collection.

In This Topic
    Add(XLCellRange) Method
    In This Topic
    Appends an XLCellRange object to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal cr As XLCellRange _
    ) As XLCellRange
    public XLCellRange Add( 
       XLCellRange cr
    )

    Parameters

    cr
    XLCellRange object to add to the collection.

    Return Value

    A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection).
    See Also