Appends an XLNamedRange object to the collection.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public XLNamedRange Add(
	XLNamedRange namedRange
)
Visual Basic
Public Function Add ( _
	namedRange As XLNamedRange _
) As XLNamedRange

Parameters

namedRange
Type: C1.Silverlight.Excel..::..XLNamedRange
The XLNamedRange 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 (usually because it overlaps another cell range already in the collection).

See Also