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


name
Name of this element.
dateTime1
Sets YDateTimeStart and XDateTime
dateTime2
Sets YDateTime
Initialize a new instance of the Element class with (YDateTimeStart, YDateTime) or (XDateTime, YDateTime) as the initial element value types.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal dateTime1 As Date, _
   ByVal dateTime2 As Date _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim dateTime1 As Date
Dim dateTime2 As Date
 
Dim instance As Element(name, dateTime1, dateTime2)
C# 
public Element( 
   string name,
   DateTime dateTime1,
   DateTime dateTime2
)

Parameters

name
Name of this element.
dateTime1
Sets YDateTimeStart and XDateTime
dateTime2
Sets YDateTime

See Also

© 2011 All Rights Reserved.