Excel for WPF and Silverlight
Add(XLNamedRange) Method

C1.WPF.Excel Namespace > XLNamedRangeCollection Class > Add Method : Add(XLNamedRange) Method
The XLNamedRange object to add to the collection.
Appends an XLNamedRange object to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal namedRange As XLNamedRange _
) As XLNamedRange

Parameters

namedRange
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

Reference

XLNamedRangeCollection Class
XLNamedRangeCollection Members
Overload List