FromSeries(SeriesCollection,Int32) Method
Creates a DataSource object from a SeriesColleciton, and Series.
Syntax
'Declaration Public Overloads Shared Function FromSeries( _ ByVal sourceSeriesCollection As SeriesCollection, _ ByVal sourceSeriesIndex As Integer _ ) As DataSource
'Usage Dim sourceSeriesCollection As SeriesCollection Dim sourceSeriesIndex As Integer Dim value As DataSource value = DataSource.FromSeries(sourceSeriesCollection, sourceSeriesIndex)
public static DataSource FromSeries( SeriesCollection sourceSeriesCollection, int sourceSeriesIndex )
Parameters
- sourceSeriesCollection
- SeriesCollection containing the given series.
- sourceSeriesIndex
- Index of the given series.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also