'Declaration
Public Overloads Function AddFromCells(Of T As {New, Series})( _ ByVal startCellAddress As String, _ ByVal endCellAddress As String, _ Optional ByVal relatedWorksheet As Worksheet _ ) As T
'Usage
Dim instance As SeriesCollection Dim startCellAddress As String Dim endCellAddress As String Dim relatedWorksheet As Worksheet Dim value As T value = instance.AddFromCells(Of T)(startCellAddress, endCellAddress, relatedWorksheet)
public T AddFromCells<T>( string startCellAddress, string endCellAddress, Worksheet relatedWorksheet ) where T: new(), Series
Parameters
- startCellAddress
The Address of the first Cell in the CellRange.
This must be a valid Address.
- endCellAddress
The Address of the last Cell in the CellRange.
This must be a valid Address.
- relatedWorksheet
The Worksheet where the targeted Cells can be found.
When this is set to null, the Worksheet hosting the targeted SeriesCollection is used.
Type Parameters
- T
- The type of Series that will be added to the SeriesCollection.