.netCHARTING v10.3 Documentation


dotnetCHARTING Namespace > Element Class > Element Constructor : Element Constructor(String,DateTime,DateTime)
Name of this element.
Sets YDateTimeStart and XDateTime
Sets YDateTime
Element Constructor(String,DateTime,DateTime)
Initialize a new instance of the Element class with (YDateTimeStart, YDateTime) or (XDateTime, YDateTime) as the initial element value types.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal dateTime1 As Date, _
   ByVal dateTime2 As Date _
)
'Usage
 
Dim name As String
Dim dateTime1 As Date
Dim dateTime2 As Date
 
Dim instance As New Element(name, dateTime1, dateTime2)

Parameters

name
Name of this element.
dateTime1
Sets YDateTimeStart and XDateTime
dateTime2
Sets YDateTime
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