Creates an XLNamedRange object and appends it to the collection.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
C# |
---|
public XLNamedRange Add( string name, XLCellRange cellRange ) |
Visual Basic |
---|
Public Function Add ( _ name As String, _ cellRange As XLCellRange _ ) As XLNamedRange |
Parameters
- name
- Type: System..::..String
The name of the named range to create.
- cellRange
- Type: C1.Silverlight.Excel..::..XLCellRange
The XLCellRange to include in the named range.