ComponentOne Excel for UWP
Add(XLNamedRange) Method

C1.UWP.Excel Assembly > C1.Xaml.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
public XLNamedRange Add( 
   XLNamedRange namedRange
)

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