LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DicomDateTimeValue Constructor(Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32)
See Also 
Leadtools.Dicom Namespace > DicomDateTimeValue Structure > DicomDateTimeValue Constructor : DicomDateTimeValue Constructor(Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32)



year
Value that represents the year.
month
Value that represents the month.
day
Value that represents the day.
hours
Value that represents the hour.
minutes
Value that represents the minute.
seconds
Value that represents the second.
fractions
Value that represents the fraction of a second.
offset
The optional suffix that indicates the offset (plus or minus) from Coordinated Universal Time.
Initializes a new DicomDateTimeValue with explicit parameters. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal hours As Integer, _
   ByVal minutes As Integer, _
   ByVal seconds As Integer, _
   ByVal fractions As Integer, _
   ByVal offset As Integer _
)
Visual Basic (Usage)Copy Code
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim hours As Integer
Dim minutes As Integer
Dim seconds As Integer
Dim fractions As Integer
Dim offset As Integer
 
Dim instance As New DicomDateTimeValue(year, month, day, hours, minutes, seconds, fractions, offset)
C# 
public DicomDateTimeValue( 
   int year,
   int month,
   int day,
   int hours,
   int minutes,
   int seconds,
   int fractions,
   int offset
)
C++/CLI 
public:
DicomDateTimeValue( 
   int year,
   int month,
   int day,
   int hours,
   int minutes,
   int seconds,
   int fractions,
   int offset
)

Parameters

year
Value that represents the year.
month
Value that represents the month.
day
Value that represents the day.
hours
Value that represents the hour.
minutes
Value that represents the minute.
seconds
Value that represents the second.
fractions
Value that represents the fraction of a second.
offset
The optional suffix that indicates the offset (plus or minus) from Coordinated Universal Time.

Example

For an example, refer to DicomDataSet.SetIntValue.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features