.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Element Class > Element Constructor : Element Constructor(String,DateTime,Double,Double,Double,Double)
Name of this element.
Sets XDateTime
Sets High
Sets Low
Sets Open
Sets Close
Element Constructor(String,DateTime,Double,Double,Double,Double)
Initialize a new instance of the Element class with (XDateTime, High, Low, Open, Close) as the initial element value types.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal dateTime1 As Date, _
   ByVal double1 As Double, _
   ByVal double2 As Double, _
   ByVal double3 As Double, _
   ByVal double4 As Double _
)
'Usage
 
Dim name As String
Dim dateTime1 As Date
Dim double1 As Double
Dim double2 As Double
Dim double3 As Double
Dim double4 As Double
 
Dim instance As New Element(name, dateTime1, double1, double2, double3, double4)

Parameters

name
Name of this element.
dateTime1
Sets XDateTime
double1
Sets High
double2
Sets Low
double3
Sets Open
double4
Sets Close
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