'Declaration
Public Overloads Function Add(Of T As {New, Chart})( _ ByVal topLeftCellAddress As String, _ ByVal bottomRightCellAddress As String _ ) As T
'Usage
Dim instance As ChartCollection Dim topLeftCellAddress As String Dim bottomRightCellAddress As String Dim value As T value = instance.Add(Of T)(topLeftCellAddress, bottomRightCellAddress)
public T Add<T>( string topLeftCellAddress, string bottomRightCellAddress ) where T: new(), Chart
Parameters
- topLeftCellAddress
- The Address of the Cell corresponding to the top left corner of the new Chart.
- bottomRightCellAddress
- The Address of the Cell corresponding to the bottom right corner of the new Chart.
Type Parameters
- T
- The type of Chart that will be added to the ChartCollection.
Return Value
The Chart that has been added to the ChartCollection.