dotnetCHARTING Send comments on this topic.
Element Constructor(String,DateTime,Double,Double,Double,Double,Double)
See Also 
dotnetCHARTING Namespace > Element Class > Element Constructor : Element Constructor(String,DateTime,Double,Double,Double,Double,Double)


name
Name of this element.
dateTime1
Sets XDateTime
double1
Sets High
double2
Sets Low
double3
Sets Open
double4
Sets Close
double5
Sets Volume
Initialize a new instance of the Element class with (XDateTime, High, Low, Open, Close, Volume) as the initial element value types.

Syntax

Visual Basic (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, _
   ByVal double5 As Double _
)
Visual Basic (Usage)Copy Code
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 double5 As Double
 
Dim instance As Element(name, dateTime1, double1, double2, double3, double4, double5)
C# 
public Element( 
   string name,
   DateTime dateTime1,
   double double1,
   double double2,
   double double3,
   double double4,
   double double5
)

Parameters

name
Name of this element.
dateTime1
Sets XDateTime
double1
Sets High
double2
Sets Low
double3
Sets Open
double4
Sets Close
double5
Sets Volume

See Also

© 2011 All Rights Reserved.