.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > DataSource Class > FromElement Method : FromElement(SeriesCollection,Int32,String) Method
SeriesCollection containing the series of the given element.
Index of the series that contains the given element.
Name of the given element.
FromElement(SeriesCollection,Int32,String) Method
Creates a DataSource object from a SeriesColleciton, Series, and Element.
Syntax
'Declaration
 
Public Overloads Shared Function FromElement( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceSeriesIndex As Integer, _
   ByVal sourceElementName As String _
) As DataSource
'Usage
 
Dim sourceSeriesCollection As SeriesCollection
Dim sourceSeriesIndex As Integer
Dim sourceElementName As String
Dim value As DataSource
 
value = DataSource.FromElement(sourceSeriesCollection, sourceSeriesIndex, sourceElementName)

Parameters

sourceSeriesCollection
SeriesCollection containing the series of the given element.
sourceSeriesIndex
Index of the series that contains the given element.
sourceElementName
Name of the given element.
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